diff --git a/home/default.nix b/home/default.nix index 7356d01..afb3b0c 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,7 +1,9 @@ { config, pkgs, ... }: { - imports = []; + imports = [ + ./programs + ]; home = { username = "florian"; diff --git a/home/programs/default.nix b/home/programs/default.nix new file mode 100644 index 0000000..7b0e80f --- /dev/null +++ b/home/programs/default.nix @@ -0,0 +1,9 @@ +{ + config, + pkgs, + ... +}: { + imports = [ + ./git.nix + ]; +} \ No newline at end of file diff --git a/home/programs/git.nix b/home/programs/git.nix new file mode 100644 index 0000000..e3ed3e4 --- /dev/null +++ b/home/programs/git.nix @@ -0,0 +1,12 @@ +{ + pkgs, + ... +}: { + home.packages = []; + + programs.git = { + enable = true; + userName = "Florian RICHER"; + userEmail = "florian.richer@protonmail.com"; + }; +} \ No newline at end of file diff --git a/modules/system.nix b/modules/system.nix index f552ee8..bbf7c7b 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -37,12 +37,6 @@ git ]; - programs.git = { - enable = true; - userName = "Florian RICHER"; - userEmail = "florian.richer@protonmail.com"; - }; - users.users.florian = { isNormalUser = true; description = "florian";