diff --git a/example-configuration.nix b/example-configuration.nix index a3306b8..84d0f4b 100644 --- a/example-configuration.nix +++ b/example-configuration.nix @@ -3,9 +3,11 @@ imports = [ (import ./main.nix { - hostName = "framework1"; + hostName = "fw1"; user = { name = "ari"; + fullName = "Ari Sosnovsky"; + email = "ariel@sosnovsky.ca"; }; }) ]; diff --git a/main.nix b/main.nix index 2a95f43..b20c565 100644 --- a/main.nix +++ b/main.nix @@ -24,5 +24,9 @@ in user = user; systemStateVersion = systemStateVersion; }) + (import ./modules/rootUser.nix { + hostName = hostName; + systemStateVersion = systemStateVersion; + }) ]; } diff --git a/modules/user.nix b/modules/user.nix index 43f85a8..b33656e 100644 --- a/modules/user.nix +++ b/modules/user.nix @@ -17,7 +17,7 @@ home.stateVersion = systemStateVersion; programs.git = { enable = true; - userName = user.gitUser; + userName = user.fullName; userEmail = user.email; }; };