move efi out of system

This commit is contained in:
waveringana 2025-06-01 23:53:15 -04:00
parent c26dbc38cc
commit 7c4dd94c2e
4 changed files with 9 additions and 3 deletions

View file

@ -11,6 +11,7 @@
../../modules/common/system.nix
../../modules/common/users.nix
../../modules/common/services.nix
../../modules/common/efi.nix
# Desktop modules
../../modules/desktop/core.nix

View file

@ -11,6 +11,7 @@
../../modules/common/system.nix
../../modules/common/users.nix
../../modules/common/services.nix
../../modules/common/efi.nix
# Services specific to this host
../../services/garage.nix

7
modules/common/efi.nix Normal file
View file

@ -0,0 +1,7 @@
{ pkgs, config, ... }:
{
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
fileSystems."/boot".options = [ "umask=0077" ];
}

View file

@ -3,10 +3,7 @@
nixpkgs.config.allowUnfree = true; #because im a gigachad
# boot, networking, locale, stateVersion
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
fileSystems."/boot".options = [ "umask=0077" ];
nix.settings.experimental-features = [ "nix-command" "flakes" ];