nix/nixos/configuration.nix
2024-01-28 17:45:31 -06:00

24 lines
532 B
Nix
Executable file

{host, ...}: {
users.groups.plugdev = {}; # Create plugdev group
networking.hostName = host.hostName;
users.users.${host.username} = {
isNormalUser = true;
extraGroups = [
"wheel"
"plugdev"
"video"
];
};
time.timeZone = "America/Chicago";
# Enable flakes and unfree packages
nix.settings = {
auto-optimise-store = true;
experimental-features = ["nix-command" "flakes"];
};
nix.gc = {
automatic = true;
dates = "00:00";
options = "--delete-older-than 14d";
};
}