diff --git a/systems/x86_64-linux/amd/default.nix b/systems/x86_64-linux/amd/default.nix index 9196c56..6af1ef4 100644 --- a/systems/x86_64-linux/amd/default.nix +++ b/systems/x86_64-linux/amd/default.nix @@ -12,6 +12,8 @@ with lib.metacfg; ./xremap.nix ]; + powerManagement.cpuFreqGovernor = "performance"; + services.rustdesk-server.signal.enable = false; networking.firewall.allowedTCPPorts = [ 22000 @@ -42,6 +44,7 @@ with lib.metacfg; podman.enable = true; secureboot.enable = true; homeprinter.enable = true; + build.enable = true; system = { limits = { @@ -100,6 +103,7 @@ with lib.metacfg; services.ratbagd.enable = true; services.resolved.enable = true; + #services.resolved.dnssec = "allow-downgrade"; #services.resolved.extraConfig = '' # ResolveUnicastSingleLabel=yes diff --git a/systems/x86_64-linux/amd/hardware-configuration.nix b/systems/x86_64-linux/amd/hardware-configuration.nix index e73c49b..8b8af97 100644 --- a/systems/x86_64-linux/amd/hardware-configuration.nix +++ b/systems/x86_64-linux/amd/hardware-configuration.nix @@ -1,28 +1,45 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: +{ + config, + lib, + modulesPath, + ... +}: { - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "nvme" "ahci" "xhci_pci" "thunderbolt" "usbhid" "uas" "sd_mod" ]; + boot.initrd.availableKernelModules = [ + "nvme" + "ahci" + "xhci_pci" + "thunderbolt" + "usbhid" + "uas" + "sd_mod" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/050c9912-36c3-4a65-ba8b-ba68e5171e18"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/050c9912-36c3-4a65-ba8b-ba68e5171e18"; + fsType = "ext4"; + options = "noatime"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/2C8E-85CB"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/2C8E-85CB"; + fsType = "vfat"; + options = [ + "fmask=0077" + "dmask=0077" + ]; + }; swapDevices = [ ];