my nix configs for my servers and desktop

move efi out of system

Changed files
+9 -3
hosts
focalor
valefar
modules
+1
hosts/focalor/default.nix
···
../../modules/common/system.nix
../../modules/common/users.nix
../../modules/common/services.nix
# Desktop modules
../../modules/desktop/core.nix
···
../../modules/common/system.nix
../../modules/common/users.nix
../../modules/common/services.nix
+
../../modules/common/efi.nix
# Desktop modules
../../modules/desktop/core.nix
+1
hosts/valefar/default.nix
···
../../modules/common/system.nix
../../modules/common/users.nix
../../modules/common/services.nix
# Services specific to this host
../../services/garage.nix
···
../../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
···
···
+
{ pkgs, config, ... }:
+
{
+
boot.loader.systemd-boot.enable = true;
+
boot.loader.efi.canTouchEfiVariables = true;
+
fileSystems."/boot".options = [ "umask=0077" ];
+
}
+
-3
modules/common/system.nix
···
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" ];
···
nixpkgs.config.allowUnfree = true; #because im a gigachad
# boot, networking, locale, stateVersion
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
nix.settings.experimental-features = [ "nix-command" "flakes" ];