dotfiles/nixos/systems/heater.nix
2021-02-26 10:25:54 +01:00

46 lines
891 B
Nix

inputs: {
system = "x86_64-linux";
hostname = "heater";
check = false;
config = {
allowUnfree = true;
};
hm."main" = import ../hm-profiles/common.nix {
multimc5 = true;
wine = true;
_3dPrinting = true;
};
modules = [
../hardware/heater.nix
../profiles/workstation.nix
(import ../modules/pin-nixpkgs.nix inputs)
../users/main.nix
../modules/nvidia-5.11-patch.nix
] ++ [
(_: _: {
networking = {
hostName = "heater";
useDHCP = false;
interfaces.enp3s0.useDHCP = true;
firewall.enable = false;
hostId = "3457b383";
};
time.timeZone = "Europe/Bratislava";
system.stateVersion = "20.09";
virtualisation.docker.enable = true;
boot = {
supportedFilesystems = [ "zfs" ];
zfs.enableUnstable = true;
};
})
];
compatModules = [];
}