2023-06-10 20:53:47 +02:00
|
|
|
{ config, ... }:
|
|
|
|
{
|
2023-06-11 00:47:05 +02:00
|
|
|
imports = [ ./default.nix ];
|
2023-06-10 20:53:47 +02:00
|
|
|
|
|
|
|
sops.secrets = {
|
2023-06-22 00:07:21 +02:00
|
|
|
"passwd/makefu" = {
|
|
|
|
neededForUsers = true;
|
|
|
|
sopsFile = ../../secrets/common.yaml;
|
|
|
|
};
|
|
|
|
"passwd/root" = {
|
|
|
|
neededForUsers = true;
|
|
|
|
sopsFile = ../../secrets/common.yaml;
|
|
|
|
};
|
2023-06-10 20:53:47 +02:00
|
|
|
};
|
2023-06-11 00:47:05 +02:00
|
|
|
|
2023-06-10 20:53:47 +02:00
|
|
|
users.users = {
|
|
|
|
makefu.passwordFile = config.sops.secrets."passwd/makefu".path;
|
|
|
|
root.passwordFile = config.sops.secrets."passwd/root".path;
|
|
|
|
};
|
|
|
|
}
|