PortValhalla/profiles/machines/manuel/DerGeret/config.nix

59 lines
1.2 KiB
Nix
Raw Permalink Normal View History

2024-09-19 21:45:19 +00:00
{ lib, ... }: {
2024-10-06 19:25:34 +00:00
imports = [ ../defaults.nix ];
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-09-19 21:45:19 +00:00
hostname = "DerGeret";
users.manuel = {
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-10-13 23:55:19 +00:00
programs = {
lghub.enable = true;
};
2024-07-28 15:14:38 +00:00
};
2024-12-07 16:43:53 +00:00
fileSystems.diskSetup.devices.OS.partitions = {
2024-07-28 15:14:38 +00:00
# Keep Windows' boot partition
Boot.keepExisting = true;
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-08-06 15:23:20 +00:00
hardware = {
components = [
"ROG Zenith Extreme Alpha"
"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;
};
};
};
}