tweak: host testing

This commit is contained in:
serenity-F 2026-09-28 17:46:23 +10:00
parent 38b0b6fc11
commit 8196743630
No known key found for this signature in database
2 changed files with 49 additions and 37 deletions

View file

@ -3,7 +3,7 @@
{
# host module declaration
flake.nixosModules.hades-configuration =
flake.nixosModules.hades-configuration-old =
{ pkgs, lib, ... }:

View file

@ -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
];
};
}