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-10-02 00:42:44 +02:00
|
|
|
"passwd-makefu".neededForUsers = true;
|
|
|
|
"passwd-root".neededForUsers = true;
|
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 = {
|
2024-05-31 10:50:20 +02:00
|
|
|
makefu.hashedPasswordFile = config.sops.secrets."passwd-makefu".path;
|
|
|
|
root.hashedPasswordFile = config.sops.secrets."passwd-root".path;
|
2023-06-10 20:53:47 +02:00
|
|
|
};
|
|
|
|
}
|