From 98afdd689218f92986b8335436ad6f6d95d737e0 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Mon, 28 Sep 2026 17:52:42 +1000 Subject: [PATCH] tweak: host settings --- modules/hosts/install-iso/configuration.nix | 40 --------------------- modules/hosts/install-iso/default.nix | 37 ++++++++++++++++++- 2 files changed, 36 insertions(+), 41 deletions(-) delete mode 100644 modules/hosts/install-iso/configuration.nix diff --git a/modules/hosts/install-iso/configuration.nix b/modules/hosts/install-iso/configuration.nix deleted file mode 100644 index 561a3fb..0000000 --- a/modules/hosts/install-iso/configuration.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ self, inputs, ... }: - -{ - - # host module declaration - flake.nixosModules.installer-configuration = - - { - pkgs, - lib, - ... - }: - - { - - # other modules to import - imports = [ ]; - - # set hostname - networking.hostName = "serenityos"; - - # bootloader settings - boot.loader = { - systemd-boot.enable = true; - efi.canTouchEfiVariables = true; - }; - - # supported filesystems at boot - boot.supportedFilesystems = [ - "vfat" - "ext4" - "ntfs" - ]; - - # specifies x64 uArch - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - - }; - -} diff --git a/modules/hosts/install-iso/default.nix b/modules/hosts/install-iso/default.nix index e8791c3..9652063 100644 --- a/modules/hosts/install-iso/default.nix +++ b/modules/hosts/install-iso/default.nix @@ -10,6 +10,7 @@ # shared system modules core + #user-options # host-specific options installer-configuration @@ -22,11 +23,45 @@ virtualisation # users to include on host - #user-options serenity ]; }; + # host module declaration + flake.nixosModules.installer-configuration = + + { + pkgs, + lib, + ... + }: + + { + + # other modules to import + imports = [ ]; + + # set hostname + networking.hostName = "serenityos"; + + # bootloader settings + boot.loader = { + systemd-boot.enable = true; + efi.canTouchEfiVariables = true; + }; + + # supported filesystems at boot + boot.supportedFilesystems = [ + "vfat" + "ext4" + "ntfs" + ]; + + # specifies x64 uArch + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + + }; + }