2025-04-12 19:45:01 +02:00
|
|
|
{
|
2025-04-15 23:44:15 +02:00
|
|
|
lib,
|
2025-04-18 13:59:06 +00:00
|
|
|
config,
|
2025-04-15 21:14:17 +00:00
|
|
|
systemConfig,
|
2025-04-12 19:45:01 +02:00
|
|
|
...
|
|
|
|
}:
|
|
|
|
|
|
|
|
{
|
2025-04-18 13:59:06 +00:00
|
|
|
imports = with lib.custom; [
|
|
|
|
(relativeToRoot "shared/modules/nix-helper.nix")
|
|
|
|
(relativeToRoot "shared/modules/nixos.nix")
|
|
|
|
(relativeToRoot "shared/modules/shell.nix")
|
|
|
|
(relativeToRoot "shared/modules/security/sops.nix")
|
2025-04-15 23:39:10 +02:00
|
|
|
./boot.nix
|
2025-04-15 23:44:15 +02:00
|
|
|
./development.nix
|
2025-04-15 23:39:10 +02:00
|
|
|
./hardware.nix
|
|
|
|
./networking.nix
|
2025-04-16 21:09:17 +00:00
|
|
|
./security
|
2025-04-15 23:39:10 +02:00
|
|
|
];
|
2025-04-15 21:14:17 +00:00
|
|
|
|
|
|
|
system.stateVersion = systemConfig.version;
|
2025-04-12 19:45:01 +02:00
|
|
|
|
|
|
|
users = {
|
|
|
|
mutableUsers = false;
|
2025-04-15 21:14:17 +00:00
|
|
|
users.${systemConfig.user.name} = {
|
2025-04-12 19:45:01 +02:00
|
|
|
isNormalUser = true;
|
2025-04-18 13:59:06 +00:00
|
|
|
hashedPasswordFile = config.sops.secrets.password.path;
|
2025-04-12 19:45:01 +02:00
|
|
|
extraGroups = [ "wheel" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|