yuzuru/schabernack: Migrate to renge

This commit is contained in:
Simon Bruder 2022-04-09 10:10:08 +02:00
parent 8f7ee06d87
commit 049a6357bd
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
3 changed files with 2 additions and 20 deletions

View file

@ -20,6 +20,7 @@
./services/onlypain.icu ./services/onlypain.icu
./services/prometheus.nix ./services/prometheus.nix
./services/sbruder.xyz ./services/sbruder.xyz
./services/schabernack.nix
]; ];
sbruder = { sbruder = {

View file

@ -21,7 +21,7 @@ in
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
root = "/var/www/schabernack/production"; root = "/var/www/schabernack";
# only log page views, rss feed access, media file download and embed views # only log page views, rss feed access, media file download and embed views
extraConfig = '' extraConfig = ''
@ -41,21 +41,4 @@ in
}; };
}; };
}; };
systemd.tmpfiles.rules = [
"d /var/www/schabernack/production 0755 schabernack root -"
];
users = {
users.schabernack = {
isSystemUser = true;
group = "schabernack";
shell = "/bin/sh";
openssh.authorizedKeys.keys = map
(key: "command=\"${pkgs.rrsync}/bin/rrsync -wo /var/www/schabernack/\",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ${key}")
config.sbruder.pubkeys.trustedKeys;
};
groups.schabernack = { };
};
} }

View file

@ -4,8 +4,6 @@
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
../../modules ../../modules
./services/schabernack.nix
]; ];
sbruder = { sbruder = {