56 lines
1.1 KiB
Nix
56 lines
1.1 KiB
Nix
{ lib, ... }: {
|
|
imports = [
|
|
../defaults.nix
|
|
];
|
|
|
|
config = {
|
|
valhalla = {
|
|
hostname = lib.mkDefault "der-geret";
|
|
linux.secureBoot = true;
|
|
|
|
windows = {
|
|
dualboot = {
|
|
enable = true;
|
|
linuxPercentage = 70; # better safe than sorry
|
|
};
|
|
|
|
hostname = "DerGeret";
|
|
|
|
users.manuel = {
|
|
microsoftAccount = true;
|
|
groups = ["Administrators"];
|
|
};
|
|
};
|
|
|
|
partition.os.partitions = {
|
|
# Keep Windows' boot partition
|
|
Boot.keepExisting = true;
|
|
|
|
Windows = {
|
|
index = 6;
|
|
label = "OS";
|
|
format = "ntfs";
|
|
mountPoint = "/win";
|
|
mountOptions = ["force"];
|
|
keepExisting = true;
|
|
};
|
|
};
|
|
|
|
hardware = {
|
|
components = [
|
|
"ROG Zenith Extreme Alpha"
|
|
"Predator Z301C"
|
|
];
|
|
|
|
xoneReceiver = true;
|
|
eyeX = true;
|
|
amdCPU = true;
|
|
nvidiaGPU = true;
|
|
logitechG = true;
|
|
corsairDevice = true;
|
|
elgatoWave = true;
|
|
};
|
|
};
|
|
};
|
|
}
|