50 lines
1.5 KiB
Nix
50 lines
1.5 KiB
Nix
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
{
|
|
imports =
|
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
];
|
|
|
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
boot.extraModulePackages = [ ];
|
|
boot.extraModprobeConfig = "options kvm_amd nested=1";
|
|
|
|
services.nfs.server.enable = true;
|
|
|
|
boot.zfs.allowHibernation = true;
|
|
boot.zfs.forceImportRoot = false;
|
|
boot.supportedFilesystems = [ "zfs" ];
|
|
networking.hostId = "63367a21";
|
|
|
|
services.asus-numberpad-driver = {
|
|
enable = true;
|
|
layout = "up5401ea";
|
|
wayland = true;
|
|
runtimeDir = "/run/user/1000/";
|
|
waylandDisplay = "wayland-0";
|
|
ignoreWaylandDisplayEnv = false;
|
|
config = {
|
|
"activation_time" = "0.5";
|
|
# More Configuration Options
|
|
"enabled_touchpad_pointer" = "0";
|
|
|
|
};
|
|
};
|
|
|
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|
# still possible to use this option, but it's recommended to use it in conjunction
|
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
# networking.useDHCP = lib.mkDefault true;
|
|
networking.hostName = "Ratchet";
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
hardware.bluetooth.enable = true;
|
|
|
|
system.stateVersion = "25.11";
|
|
}
|