mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 05:40:52 +01:00
Fixed broken services on lisa
This commit is contained in:
parent
c186bc73a8
commit
33b2ebef7b
6 changed files with 6 additions and 1 deletions
2
base.nix
2
base.nix
|
@ -9,7 +9,7 @@
|
|||
luj.nix.enable = true;
|
||||
|
||||
sops.defaultSopsFile = ./secrets/secrets.yaml;
|
||||
sops.age.sshKeyPaths = [ "/home/julien/.ssh/id_ed25519"];
|
||||
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key"];
|
||||
|
||||
time.timeZone = "Europe/Paris";
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
|
|
@ -21,6 +21,7 @@ in {
|
|||
package = pkgs.jellyfin;
|
||||
};
|
||||
networking.firewall = { allowedTCPPorts = [ port ]; };
|
||||
users.groups.tv = { name = "tv"; };
|
||||
}
|
||||
|
||||
(mkIf cfg.nginx.enable {
|
||||
|
|
|
@ -15,6 +15,7 @@ in {
|
|||
|
||||
security.acme.email = "${cfg.email}";
|
||||
security.acme.acceptTerms = true;
|
||||
users.groups.nginx = { name = "nginx"; };
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
|
|
|
@ -23,6 +23,7 @@ in {
|
|||
group = "tv";
|
||||
};
|
||||
networking.firewall = { allowedTCPPorts = [ port ]; };
|
||||
users.groups.tv = { name = "tv"; };
|
||||
}
|
||||
|
||||
(mkIf cfg.nginx.enable {
|
||||
|
|
|
@ -22,6 +22,7 @@ in {
|
|||
#dataDir = "/var/lib/sonarr/.config/NzbDrone";
|
||||
group = "tv";
|
||||
};
|
||||
users.groups.tv = { name = "tv"; };
|
||||
networking.firewall = { allowedTCPPorts = [ port ]; };
|
||||
}
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@ in {
|
|||
};
|
||||
|
||||
};
|
||||
users.groups.tv = { name = "tv"; };
|
||||
networking.firewall = { allowedTCPPorts = [ port ]; };
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue