Separate systemdboot config
This commit is contained in:
parent
735a920892
commit
f1d2652c53
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
# Hardware
|
# Hardware
|
||||||
./hardware/machines/desktop.nix
|
./hardware/machines/desktop.nix
|
||||||
|
./hardware/systemdboot.nix
|
||||||
./hardware/nvidia.nix
|
./hardware/nvidia.nix
|
||||||
./hardware/opengl.nix
|
./hardware/opengl.nix
|
||||||
|
|
||||||
|
|
|
@ -66,12 +66,6 @@ in {
|
||||||
extraModprobeConfig = ''
|
extraModprobeConfig = ''
|
||||||
options hid_apple fnmode=2
|
options hid_apple fnmode=2
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Use the Systemd-Boot bootloader
|
|
||||||
loader.systemd-boot = {
|
|
||||||
enable = true;
|
|
||||||
netbootxyz.enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Additional entry to boot from the second GPU
|
# Additional entry to boot from the second GPU
|
||||||
|
|
|
@ -22,12 +22,6 @@
|
||||||
"kvm-intel"
|
"kvm-intel"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Use the Systemd-Boot bootloader
|
|
||||||
loader.systemd-boot = {
|
|
||||||
enable = true;
|
|
||||||
netbootxyz.enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Mounting options
|
# Mounting options
|
||||||
|
|
7
nixos/hardware/systemdboot.nix
Normal file
7
nixos/hardware/systemdboot.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
# For UEFI Machines
|
||||||
|
boot.loader.systemd-boot = {
|
||||||
|
enable = true;
|
||||||
|
netbootxyz.enable = true;
|
||||||
|
};
|
||||||
|
}
|
|
@ -13,6 +13,7 @@
|
||||||
|
|
||||||
# Hardware
|
# Hardware
|
||||||
./hardware/machines/server.nix
|
./hardware/machines/server.nix
|
||||||
|
./hardware/systemdboot.nix
|
||||||
|
|
||||||
# Services
|
# Services
|
||||||
./services/openssh.nix
|
./services/openssh.nix
|
||||||
|
|
Loading…
Reference in a new issue