tweak: host testing
This commit is contained in:
parent
38b0b6fc11
commit
8196743630
2 changed files with 49 additions and 37 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
# host module declaration
|
# host module declaration
|
||||||
flake.nixosModules.hades-configuration =
|
flake.nixosModules.hades-configuration-old =
|
||||||
|
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, lib, ... }:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
#user-options
|
#user-options
|
||||||
|
|
||||||
# host-specific modules
|
# host-specific modules
|
||||||
#hades-configuration
|
hades-configuration
|
||||||
hades-hardware
|
hades-hardware
|
||||||
zfs-hades
|
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
|
||||||
|
|
||||||
|
];
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue