This commit is contained in:
= 2025-11-22 20:57:22 +00:00
parent 5546b4cbe9
commit 03130d29d1
13 changed files with 572 additions and 0 deletions

26
modules/base.nix Normal file
View file

@ -0,0 +1,26 @@
{
networking.hostName = "aberrant";
# Necessary for flake support
nix.settings.experimental-features = ["nix-command" "flakes"];
# General / Perf
zramSwap.enable = true;
boot.tmp.cleanOnBoot = true;
time.timeZone = "UTC";
users.users = {
# Disables root login by setting an invalid password
root.hashedPassword = "!";
anon = {
isNormalUser = true;
extraGroups = ["wheel"];
initialPassword = "anon";
};
};
# Redundant but good practice
security.sudo.wheelNeedsPassword = true;
system.stateVersion = "25.05";
}