From 2cc08d39dbf1646090d4bd3a763fc345267b3aef Mon Sep 17 00:00:00 2001 From: Quentin Boyer Date: Sun, 26 Mar 2023 19:17:20 +0200 Subject: [PATCH] Some more cleanup --- flake.nix | 9 +++------ git/default.nix | 6 ------ hostconfig/ZeNixComputa/hm.nix | 5 +++++ 3 files changed, 8 insertions(+), 12 deletions(-) delete mode 100644 git/default.nix diff --git a/flake.nix b/flake.nix index f98e1e8..7efb464 100644 --- a/flake.nix +++ b/flake.nix @@ -114,9 +114,6 @@ commonHmModules = [ self.hmModules.minimal ./home.nix - ./extra_info.nix - ./rustdev.nix - ./git ]; in { ZeNixLaptop = nixpkgs.lib.nixosSystem rec { @@ -169,8 +166,8 @@ system = "x86_64-linux"; modules = [ ./hostconfig/ZeNixComputa/extra_info.nix - ./hostconfig/ZeNixComputa/hardware-configuration.nix - ./hostconfig/ZeNixComputa/nixos.nix + ./hostconfig/ZeNixComputa/hardware-configuration.nix + ./hostconfig/ZeNixComputa/nixos.nix self.nixosModules.minimal self.nixosModules.personal-cli self.nixosModules.personal-gui @@ -199,7 +196,7 @@ imports = commonHmModules ++ [ - ./hostconfig/ZeNixComputa/hm.nix + ./hostconfig/ZeNixComputa/hm.nix self.hmModules.personal-cli self.hmModules.personal-gui self.hmModules.gaming diff --git a/git/default.nix b/git/default.nix deleted file mode 100644 index 11a026a..0000000 --- a/git/default.nix +++ /dev/null @@ -1,6 +0,0 @@ -{config, ...}: { - programs.git = { - userName = "traxys"; - userEmail = config.extraInfo.email; - }; -} diff --git a/hostconfig/ZeNixComputa/hm.nix b/hostconfig/ZeNixComputa/hm.nix index 5c316e2..e699268 100644 --- a/hostconfig/ZeNixComputa/hm.nix +++ b/hostconfig/ZeNixComputa/hm.nix @@ -2,6 +2,11 @@ home.username = "${config.extraInfo.username}"; home.homeDirectory = "/home/${config.extraInfo.username}"; + programs.git = { + userName = "traxys"; + userEmail = config.extraInfo.email; + }; + # This value determines the Home Manager release that your # configuration is compatible with. This helps avoid breakage # when a new Home Manager release introduces backwards