cleanup
This commit is contained in:
@@ -20,7 +20,7 @@ in
|
||||
# Either the group id or group name representation of the secret group
|
||||
# It is recommended to get the group name from `config.users.users.<?name>.group` to avoid misconfiguration
|
||||
sops = {
|
||||
defaultSopsFile = desktopSopsFile;
|
||||
defaultSopsFile = lib.mkForce desktopSopsFile; # todo
|
||||
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
|
||||
# ------------------------------
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{ config, namespace, ... }:
|
||||
{ config, namespace, lib, ... }:
|
||||
let
|
||||
passwordFile = config.sops.secrets."desktop/matt_password".path;
|
||||
in
|
||||
{
|
||||
${namespace}.user = {
|
||||
passwordFile = passwordFile;
|
||||
passwordFile = lib.mkForce passwordFile;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user