Extract opdavies user

This commit is contained in:
Oliver Davies 2025-01-01 19:01:51 +00:00
parent 07e0b47988
commit ba76093a41
7 changed files with 20 additions and 17 deletions

View file

@ -3,6 +3,7 @@
{ {
imports = [ imports = [
../common ../common
../../users/opdavies
./configuration.nix ./configuration.nix
]; ];

View file

@ -18,9 +18,10 @@
outputs.nixosModules.default outputs.nixosModules.default
./programs.nix ./programs.nix
./users.nix
]; ];
users.defaultUserShell = pkgs.zsh;
environment.systemPackages = environment.systemPackages =
with pkgs; with pkgs;
[ [

View file

@ -1,20 +1,4 @@
{ pkgs, username, ... }: { pkgs, username, ... }:
{ {
users = {
users.${username} = {
isNormalUser = true;
description = "Oliver Davies";
extraGroups = [
"docker"
"networkmanager"
"wheel"
];
packages = [ ];
};
defaultUserShell = pkgs.zsh;
};
} }

View file

@ -25,6 +25,7 @@
imports = [ imports = [
../common ../common
../../users/opdavies
./configuration.nix ./configuration.nix
]; ];

View file

@ -20,6 +20,7 @@
imports = [ imports = [
../common ../common
../../users/opdavies
./configuration.nix ./configuration.nix
./secrets.nix ./secrets.nix

View file

@ -1,6 +1,7 @@
{ {
imports = [ imports = [
../common ../common
../../users/opdavies
./configuration.nix ./configuration.nix
]; ];

View file

@ -0,0 +1,14 @@
{
users.users.opdavies = {
description = "Oliver Davies";
isNormalUser = true;
extraGroups = [
"docker"
"networkmanager"
"wheel"
];
packages = [ ];
};
}