2021-02-02 20:10:25 +01:00
|
|
|
inputs: {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
hostname = "heater";
|
|
|
|
check = false;
|
|
|
|
|
|
|
|
config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
};
|
|
|
|
|
2021-02-28 18:14:01 +01:00
|
|
|
hm."main" = import ../home-manager/profiles/common.nix {
|
2021-02-26 10:24:58 +01:00
|
|
|
multimc5 = true;
|
|
|
|
wine = true;
|
|
|
|
_3dPrinting = true;
|
|
|
|
};
|
2021-02-02 20:10:25 +01:00
|
|
|
|
|
|
|
modules = [
|
2021-02-28 18:14:01 +01:00
|
|
|
../nixos/hardware/heater.nix
|
|
|
|
../nixos/profiles/workstation.nix
|
|
|
|
(import ../nixos/modules/pin-nixpkgs.nix inputs)
|
|
|
|
../nixos/users/main.nix
|
|
|
|
../nixos/modules/nvidia-5.11-patch.nix
|
2021-02-02 20:10:25 +01:00
|
|
|
] ++ [
|
|
|
|
(_: _: {
|
|
|
|
networking = {
|
|
|
|
hostName = "heater";
|
|
|
|
useDHCP = false;
|
|
|
|
interfaces.enp3s0.useDHCP = true;
|
2021-02-24 12:32:22 +01:00
|
|
|
|
|
|
|
firewall.enable = false;
|
2021-02-26 10:25:54 +01:00
|
|
|
hostId = "3457b383";
|
2021-02-02 20:10:25 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Bratislava";
|
|
|
|
system.stateVersion = "20.09";
|
|
|
|
|
|
|
|
virtualisation.docker.enable = true;
|
2021-02-26 10:25:54 +01:00
|
|
|
boot = {
|
|
|
|
supportedFilesystems = [ "zfs" ];
|
|
|
|
zfs.enableUnstable = true;
|
|
|
|
};
|
2021-02-02 20:10:25 +01:00
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
compatModules = [];
|
|
|
|
}
|