Remove bootloader settings from modules/default.nix and moved to machine-specific configs

This commit is contained in:
Riley Apeldoorn 2022-05-23 20:58:06 +02:00
parent 2b4aa8fd66
commit 16d45d2bc2
3 changed files with 24 additions and 12 deletions

View File

@ -16,6 +16,18 @@
interfaces.wlp6s0.useDHCP = true;
};
boot = {
loader.systemd-boot = {
enable = true;
editor = false;
configurationLimit = 10;
};
loader.efi = {
canTouchEfiVariables = true;
};
};
devices = {
audio = {

View File

@ -26,6 +26,18 @@
interfaces.enp9s0.useDHCP = true;
};
boot = {
loader.systemd-boot = {
enable = true;
editor = false;
configurationLimit = 10;
};
loader.efi = {
canTouchEfiVariables = true;
};
};
users.users."riley".packages = with pkgs; [
minecraft
cockatrice

View File

@ -177,18 +177,6 @@ in {
'';
boot = {
loader.systemd-boot = {
enable = true;
editor = false;
configurationLimit = 10;
};
loader.efi = {
canTouchEfiVariables = true;
};
};
networking = {
firewall.enable = false;
useDHCP = false;