2024-09-19 21:45:19 +00:00
|
|
|
{ lib, ... }: {
|
2024-10-06 19:25:34 +00:00
|
|
|
imports = [ ../defaults.nix ];
|
2024-06-22 18:53:07 +00:00
|
|
|
|
2024-09-03 21:10:35 +00:00
|
|
|
config = {
|
2024-07-28 15:14:38 +00:00
|
|
|
valhalla = {
|
2024-09-19 21:45:19 +00:00
|
|
|
hostname = lib.mkDefault "der-geret";
|
2024-09-19 22:56:56 +00:00
|
|
|
linux.secureBoot = true;
|
2024-09-19 21:45:19 +00:00
|
|
|
|
2024-07-28 15:14:38 +00:00
|
|
|
windows = {
|
|
|
|
dualboot = {
|
|
|
|
enable = true;
|
|
|
|
linuxPercentage = 70; # better safe than sorry
|
|
|
|
};
|
2024-08-08 13:32:05 +00:00
|
|
|
|
2024-09-19 21:45:19 +00:00
|
|
|
hostname = "DerGeret";
|
|
|
|
|
2024-08-24 01:25:28 +00:00
|
|
|
users.manuel = {
|
2024-08-08 13:32:05 +00:00
|
|
|
microsoftAccount = true;
|
2024-10-06 19:25:34 +00:00
|
|
|
groups = [ "Administrators" ];
|
2024-10-17 01:50:08 +00:00
|
|
|
programs.ubiquiti-unifi-controller.enable = true;
|
2024-08-08 13:32:05 +00:00
|
|
|
};
|
2024-10-13 23:55:19 +00:00
|
|
|
|
|
|
|
programs = {
|
|
|
|
lghub.enable = true;
|
|
|
|
};
|
2024-07-28 15:14:38 +00:00
|
|
|
};
|
|
|
|
|
2024-12-07 15:11:19 +00:00
|
|
|
fileSystems.diskSetup.disks.OS.partitions = {
|
2024-07-28 15:14:38 +00:00
|
|
|
# Keep Windows' boot partition
|
|
|
|
Boot.keepExisting = true;
|
2024-06-22 18:53:07 +00:00
|
|
|
|
2024-07-28 15:14:38 +00:00
|
|
|
Windows = {
|
|
|
|
index = 6;
|
|
|
|
label = "OS";
|
|
|
|
format = "ntfs";
|
|
|
|
mountPoint = "/win";
|
2024-10-06 19:25:34 +00:00
|
|
|
mountOptions = [ "force" ];
|
2024-07-28 15:14:38 +00:00
|
|
|
keepExisting = true;
|
|
|
|
};
|
2024-06-22 18:53:07 +00:00
|
|
|
};
|
2024-08-06 15:23:20 +00:00
|
|
|
|
|
|
|
hardware = {
|
|
|
|
components = [
|
|
|
|
"ROG Zenith Extreme Alpha"
|
2024-08-09 00:23:41 +00:00
|
|
|
"Predator Z301C"
|
2024-09-20 04:10:53 +00:00
|
|
|
"Logitech G903"
|
2024-08-06 15:23:20 +00:00
|
|
|
];
|
|
|
|
|
2024-09-20 00:01:22 +00:00
|
|
|
xoneReceiver = true;
|
2024-08-06 15:23:20 +00:00
|
|
|
eyeX = true;
|
|
|
|
amdCPU = true;
|
|
|
|
nvidiaGPU = true;
|
2024-08-07 23:51:21 +00:00
|
|
|
corsairDevice = true;
|
2024-08-06 15:23:20 +00:00
|
|
|
elgatoWave = true;
|
|
|
|
};
|
2024-06-22 18:53:07 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|