From d22763540a1bd6cd92b85c9ed889c84063f23e08 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Sun, 8 Dec 2024 16:34:11 -0600 Subject: [PATCH] single home module --- homeManagerModules/home.nix => home.nix | 9 +++++++-- homeManagerModules/git.nix | 9 --------- 2 files changed, 7 insertions(+), 11 deletions(-) rename homeManagerModules/home.nix => home.nix (69%) delete mode 100644 homeManagerModules/git.nix diff --git a/homeManagerModules/home.nix b/home.nix similarity index 69% rename from homeManagerModules/home.nix rename to home.nix index 5e340c0..3ff625f 100644 --- a/homeManagerModules/home.nix +++ b/home.nix @@ -9,8 +9,13 @@ let homePath = "/srv/panoptes"; in { - imports = [ ./git.nix ]; - programs.git.extraConfig.safe.directory = "${homePath}"; + programs.git = { + enable = true; + extraConfig.credential.helper = "store --file ~/.git-credentials"; + userName = "John Lancaster"; + userEmail = "32917998+jsl12@users.noreply.github.com"; + extraConfig.safe.directory = "${homePath}"; + }; nixpkgs.config.allowUnfree = true; diff --git a/homeManagerModules/git.nix b/homeManagerModules/git.nix deleted file mode 100644 index d30ba88..0000000 --- a/homeManagerModules/git.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ ... }: -{ - programs.git = { - enable = true; - extraConfig.credential.helper = "store --file ~/.git-credentials"; - userName = "John Lancaster"; - userEmail = "32917998+jsl12@users.noreply.github.com"; - }; -} \ No newline at end of file