restructure system modules, add tp packages, prune utilities.
This commit is contained in:
parent
4ef60f6852
commit
e010bff600
8 changed files with 29 additions and 39 deletions
|
|
@ -1,14 +1,30 @@
|
|||
{ hostname, timezone, ... }: {
|
||||
{ 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 = {
|
||||
sudo.configFile = ''
|
||||
Defaults insults
|
||||
Defaults passwd_tries = 5
|
||||
'';
|
||||
};
|
||||
|
||||
services = {
|
||||
openssh.enable = true;
|
||||
tailscale.enable = true;
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue