Fix eval errors for gaming and syncthing

This commit is contained in:
Vili Sinervä 2025-06-21 17:23:24 +03:00
parent 682dc791c4
commit fe775e2fad
Signed by: Vili Sinervä
SSH key fingerprint: SHA256:FladqYjaE4scJY3Hi+gnShZ6ygnTJgixy0I6BAoHyos
3 changed files with 4 additions and 2 deletions

View file

@ -17,4 +17,5 @@
];
users.users.vili.hashedPasswordFile = lib.mkForce null;
sops.secrets = lib.mkForce { };
}

View file

@ -9,4 +9,5 @@
];
users.users.vili.hashedPasswordFile = lib.mkForce null;
sops.secrets = lib.mkForce { };
}

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ config, lib, ... }:
{
sops.secrets.vili-password = {
sopsFile = ../../secrets/${config.networking.hostName}/vili.yaml;
@ -16,7 +16,7 @@
"audio"
];
openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys;
hashedPasswordFile = config.sops.secrets.vili-password.path;
hashedPasswordFile = lib.mkDefault config.sops.secrets.vili-password.path;
};
users.groups.vili.gid = 1000;