nix-flake/modules/system/base.nix
satr14 62ede59843
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 28s
fix polki
2026-07-23 12:37:49 +07:00

34 lines
No EOL
688 B
Nix

{ hostname, timezone, locale, ... }: {
system.stateVersion = "24.11";
imports = [
./core/virtualization.nix
./core/bootloader.nix
./core/filesystem.nix
./core/network.nix
./core/kernel.nix
./core/shell.nix
./misc/utilities.nix
./misc/nix-conf.nix
];
networking.hostName = "${hostname}";
time.timeZone = timezone;
i18n.defaultLocale = locale;
environment.localBinInPath = true;
security = {
polkit = {
enable = true;
enablePkexecWrapper = true;
};
sudo.configFile = ''
Defaults insults
Defaults passwd_tries = 5
'';
};
services = {
openssh.enable = true;
tailscale.enable = true;
};
}