32 lines
641 B
Nix
Raw Normal View History

{
lib,
config,
systemConfig,
...
}:
{
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
./development.nix
2025-04-15 23:39:10 +02:00
./hardware.nix
./networking.nix
./security
2025-04-15 23:39:10 +02:00
];
system.stateVersion = systemConfig.version;
users = {
mutableUsers = false;
users.${systemConfig.username} = {
isNormalUser = true;
hashedPasswordFile = config.sops.secrets.password.path;
extraGroups = [ "wheel" ];
};
};
}