2021-02-02 20:10:25 +01:00
|
|
|
inputs: {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
hostname = "omen";
|
|
|
|
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 = false;
|
|
|
|
wine = false;
|
|
|
|
_3dPrinting = false;
|
2021-03-07 14:18:19 +01:00
|
|
|
js-ts = false;
|
2021-02-26 10:24:58 +01:00
|
|
|
};
|
2021-02-02 20:10:25 +01:00
|
|
|
|
|
|
|
modules = [
|
2021-02-28 18:14:01 +01:00
|
|
|
../nixos/hardware/omen.nix
|
|
|
|
(import ../nixos/modules/pin-nixpkgs.nix inputs)
|
|
|
|
../nixos/users/main.nix
|
|
|
|
(import ../nixos/profiles/laptop.nix {
|
2021-02-02 20:10:25 +01:00
|
|
|
intelBusId = "PCI:0:2:0";
|
|
|
|
nvidiaBusId = "PCI:1:0:0";
|
|
|
|
})
|
2021-02-28 18:14:01 +01:00
|
|
|
../nixos/modules/nvidia-5.11-patch.nix
|
2021-02-02 20:10:25 +01:00
|
|
|
] ++ [
|
|
|
|
(_: _: {
|
|
|
|
networking = {
|
|
|
|
hostName = "omen";
|
|
|
|
useDHCP = false;
|
|
|
|
interfaces.eno1.useDHCP = true;
|
2021-02-26 10:32:26 +01:00
|
|
|
hostId = "10c7ffc5";
|
2021-02-02 20:10:25 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Bratislava";
|
|
|
|
system.stateVersion = "20.09";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
compatModules = [];
|
|
|
|
}
|