NixOS-Config/modules/system/default.nix
2024-10-09 03:36:08 -04:00

36 lines
646 B
Nix

{ outputs, config, pkgs, ... }: {
imports = [
./accounts
./modules/networking
./modules/overlays
./programs/git
./services/garbage-collection
];
nix = {
settings = {
experimental-features = "nix-command flakes";
auto-optimise-store = true;
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 1w";
};
};
time.timeZone = outputs.secrets.timeZone;
programs = {
zsh.enable = true;
nano.enable = false;
};
documentation = {
nixos.enable = false;
info.enable = false;
};
hardware.enableRedistributableFirmware = true;
}