summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2021-03-20 00:05:10 +0100
committerstuebinm2021-03-20 00:05:10 +0100
commita18a3bed5047a7c589bba9c7569a6ae953b3803d (patch)
treec5c970754b892563e2ee05451c8fada7a2fc0114
parentc0fd65132ee36460bd21645b7e8673d3a73064b1 (diff)
fix git push for cgit
-rw-r--r--common/default.nix2
-rw-r--r--hosts/chaski/services/cgit.nix1
2 files changed, 2 insertions, 1 deletions
diff --git a/common/default.nix b/common/default.nix
index d30e46b..1b87571 100644
--- a/common/default.nix
+++ b/common/default.nix
@@ -18,7 +18,7 @@ in {
i18n.defaultLocale = "en_US.UTF-8";
time.timeZone = "Europe/Amsterdam";
-
+
environment.systemPackages = with pkgs; [
wget vim htop dnsutils inetutils iftop manpages
];
diff --git a/hosts/chaski/services/cgit.nix b/hosts/chaski/services/cgit.nix
index 7ce041c..094bfd5 100644
--- a/hosts/chaski/services/cgit.nix
+++ b/hosts/chaski/services/cgit.nix
@@ -86,6 +86,7 @@
openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys;
home = "/var/git";
isNormalUser = true;
+ packages = [ pkgs.git ];
};
networking.firewall.allowedTCPPorts = [ 80 443 ];