aboutsummaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/arrakis/default.nix6
-rw-r--r--hosts/arrakis/services.nix9
2 files changed, 13 insertions, 2 deletions
diff --git a/hosts/arrakis/default.nix b/hosts/arrakis/default.nix
index e2f3a38..a8d1cdd 100644
--- a/hosts/arrakis/default.nix
+++ b/hosts/arrakis/default.nix
@@ -230,6 +230,12 @@
};
};
+ system.activationScripts = {
+ fix-acl-cgit-home-nipsy = ''
+ ${pkgs.acl}/bin/setfacl -m u:cgit:--x /home/nipsy
+ '';
+ };
+
system.stateVersion = "23.11";
systemd.services = {
diff --git a/hosts/arrakis/services.nix b/hosts/arrakis/services.nix
index ff8d5b8..bd73e3e 100644
--- a/hosts/arrakis/services.nix
+++ b/hosts/arrakis/services.nix
@@ -2,7 +2,7 @@
environment.etc."gitconfig".text = ''
[safe]
- directory = /home/nipsy/www/git
+ directory = /home/nipsy/www/git/nix/.git
'';
security.acme = {
@@ -15,7 +15,12 @@
"arrakis.bitgnome.net" = {
enable = true;
nginx.location = "/nipsy/git/";
- scanPath = "/home/nipsy/www/git";
+ repos = {
+ nix = {
+ desc = "a NixOS configuration";
+ path = "/home/nipsy/www/git/nix";
+ };
+ };
settings = {
about-filter = "${pkgs.cgit}/lib/cgit/filters/about-formatting.sh";
branch-sort = "age";