move efi out of system
This commit is contained in:
parent
c26dbc38cc
commit
7c4dd94c2e
4 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
7
modules/common/efi.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
fileSystems."/boot".options = [ "umask=0077" ];
|
||||
}
|
||||
|
|
@ -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" ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue