diff options
| -rw-r--r-- | aphrodite/devops/git.nix | 10 | ||||
| -rw-r--r-- | common/default.nix | 1 | ||||
| -rw-r--r-- | common/git.nix | 11 |
3 files changed, 12 insertions, 10 deletions
diff --git a/aphrodite/devops/git.nix b/aphrodite/devops/git.nix index b395ae9..0dd72ad 100644 --- a/aphrodite/devops/git.nix +++ b/aphrodite/devops/git.nix @@ -12,16 +12,6 @@ patches = (old.patches or []) ++ [darkModePatch]; }); in { - programs.git = { - enable = true; - lfs.enable = true; - config = { - init = { - defaultBranch = "main"; - }; - }; - }; - services.gitolite = { enable = true; user = "git"; diff --git a/common/default.nix b/common/default.nix index fca1d03..ed96c7a 100644 --- a/common/default.nix +++ b/common/default.nix @@ -2,6 +2,7 @@ imports = [ ./disks.nix ./fail2ban.nix + ./git.nix ./hardware.nix ./mail.nix ./network.nix diff --git a/common/git.nix b/common/git.nix new file mode 100644 index 0000000..1522a78 --- /dev/null +++ b/common/git.nix @@ -0,0 +1,11 @@ +{ + programs.git = { + enable = true; + lfs.enable = true; + config = { + init = { + defaultBranch = "main"; + }; + }; + }; +} |
