diff --git a/hosts/backwards/configuration.nix b/hosts/backwards/configuration.nix index 9b55e07..b39ab0f 100644 --- a/hosts/backwards/configuration.nix +++ b/hosts/backwards/configuration.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ pkgs, ... }: { imports = [ @@ -10,9 +10,6 @@ nix.settings.experimental-features = [ "nix-command" "flakes" ]; nixpkgs.config.allowUnfree = true; - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - time.timeZone = "Europe/Stockholm"; i18n.defaultLocale = "en_GB.UTF-8"; diff --git a/hosts/backwards/modules/boot/default.nix b/hosts/backwards/modules/boot/default.nix new file mode 100644 index 0000000..464d4ba --- /dev/null +++ b/hosts/backwards/modules/boot/default.nix @@ -0,0 +1,12 @@ +{ ... }: +{ + boot = { + loader = { + systemd-boot = { + enable = true; + }; + + efi.canTouchEfiVariables = true; + }; + }; +}