updates
This commit is contained in:
parent
5546b4cbe9
commit
03130d29d1
13 changed files with 572 additions and 0 deletions
26
modules/base.nix
Normal file
26
modules/base.nix
Normal 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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue