From 81967436308b6b0e710654d1df8fb76a7c23f15d Mon Sep 17 00:00:00 2001 From: serenity-F Date: Mon, 28 Sep 2026 17:46:23 +1000 Subject: [PATCH] tweak: host testing --- modules/hosts/hades/configuration.nix | 2 +- modules/hosts/hades/default.nix | 84 +++++++++++++++------------ 2 files changed, 49 insertions(+), 37 deletions(-) diff --git a/modules/hosts/hades/configuration.nix b/modules/hosts/hades/configuration.nix index 9561d1c..065c17f 100644 --- a/modules/hosts/hades/configuration.nix +++ b/modules/hosts/hades/configuration.nix @@ -3,7 +3,7 @@ { # host module declaration - flake.nixosModules.hades-configuration = + flake.nixosModules.hades-configuration-old = { pkgs, lib, ... }: diff --git a/modules/hosts/hades/default.nix b/modules/hosts/hades/default.nix index e54b877..3f75cb3 100644 --- a/modules/hosts/hades/default.nix +++ b/modules/hosts/hades/default.nix @@ -16,7 +16,7 @@ #user-options # host-specific modules - #hades-configuration + hades-configuration hades-hardware zfs-hades @@ -37,41 +37,53 @@ ]; - # set hostname - networking.hostName = "hades"; - - # bootloader settings - boot.loader = { - systemd-boot.enable = true; - efi.canTouchEfiVariables = true; - }; - - # supported filesystems at boot - boot.supportedFilesystems = [ - "vfat" - "ext4" - #"ntfs" - ]; - - # enable printing support - services.printing.enable = true; - - # fstrim for ssd - services.fstrim.enable = true; - - # corsair mouse software - hardware.ckb-next.enable = true; - - # other packages for hades peripherals - environment.systemPackages = with pkgs; [ - - #input-remapper - #razergenie - #openrazer-daemon - #openrgb-with-all-plugins - - ]; - }; + # host module declaration + flake.nixosModules.hades-configuration = + + { pkgs, lib, ... }: + + { + + # other modules to import + imports = [ ]; + + # set hostname + networking.hostName = "hades"; + + # bootloader settings + boot.loader = { + systemd-boot.enable = true; + efi.canTouchEfiVariables = true; + }; + + # supported filesystems at boot + boot.supportedFilesystems = [ + "vfat" + "ext4" + #"ntfs" + ]; + + # enable printing support + services.printing.enable = true; + + # fstrim for ssd + services.fstrim.enable = true; + + # corsair mouse software + hardware.ckb-next.enable = true; + + # other packages for hades peripherals + environment.systemPackages = with pkgs; [ + + #input-remapper + #razergenie + #openrazer-daemon + #openrgb-with-all-plugins + + ]; + + }; + }