home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 615b14698085c2f2327ae3ab59f3d24347ddcbf3
parent 48e33b0b6901ead82e76c3fed868902914f4cdaa
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Tue,  2 Jul 2024 18:22:56 +0200

systems/shikoku: fixing build with 24.05

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Msystems/hosts/shikoku.nix | 12+++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/systems/hosts/shikoku.nix b/systems/hosts/shikoku.nix @@ -120,17 +120,27 @@ in environment.systemPackages = [ pkgs.python310Packages.aria2p ]; + + programs.ssh.setXAuthLocation = true; profiles = { bind.enable = true; home = true; }; + + sops.secrets.aria2RPCSecret = { + mode = "444"; + owner = "root"; + group = "root"; + }; + services = { aria2 = { enable = true; openPorts = true; extraArguments = "--max-concurrent-downloads=20"; downloadDir = "/data/downloads"; + rpcSecretFile = config.sops.secrets.aria2RPCSecret.path; }; bazarr = { enable = true; @@ -193,5 +203,5 @@ in }; nix.settings.trusted-users = [ "root" "vincent" "builder" ]; - security.pam.enableSSHAgentAuth = true; + security.pam.sshAgentAuth.enable = true; }