55 lines
953 B
Nix
55 lines
953 B
Nix
{ self, inputs, ... }:
|
|
|
|
{
|
|
|
|
# host module declaration
|
|
flake.nixosModules.test-configuration =
|
|
|
|
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
|
|
{
|
|
|
|
# other modules to import
|
|
imports = [ ];
|
|
|
|
# set hostname
|
|
networking.hostName = "test";
|
|
|
|
# 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
|
|
|
|
];
|
|
|
|
};
|
|
}
|