aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/generic.nix
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2025-01-19 13:00:31 +0100
committerKarel Kočí <cynerd@email.cz>2025-01-19 13:00:31 +0100
commit39dea4d3636b3162c7ff72977c25e7c713faade1 (patch)
treeca904d3d89620a9bd1a2ce93b454e7da93591b37 /nixos/modules/generic.nix
parentc74091f90e8d936319baa168d336e4ab04e5c687 (diff)
downloadnixos-personal-39dea4d3636b3162c7ff72977c25e7c713faade1.tar.gz
nixos-personal-39dea4d3636b3162c7ff72977c25e7c713faade1.tar.bz2
nixos-personal-39dea4d3636b3162c7ff72977c25e7c713faade1.zip
Attempt to get Rpi to work
Diffstat (limited to 'nixos/modules/generic.nix')
-rw-r--r--nixos/modules/generic.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/nixos/modules/generic.nix b/nixos/modules/generic.nix
index 502d0c3..c5dbd98 100644
--- a/nixos/modules/generic.nix
+++ b/nixos/modules/generic.nix
@@ -31,8 +31,11 @@ in {
};
boot = {
- loader.systemd-boot.enable = mkOverride 1100 true;
- loader.efi.canTouchEfiVariables = mkDefault true;
+ loader = {
+ systemd-boot.enable = mkOverride 1100 true;
+ efi.canTouchEfiVariables = mkDefault true;
+ grub.enable = mkOverride 1100 false;
+ };
kernelPackages = mkOverride 1100 pkgs.linuxPackages_latest;
kernelParams = ["boot.shell_on_fail"];
};