diff --git a/core/hosts/hades/config.nix b/core/hosts/hades/config.nix index 89fc031..e20dcc6 100644 --- a/core/hosts/hades/config.nix +++ b/core/hosts/hades/config.nix @@ -4,7 +4,7 @@ imports = [ ## Include the results of the hardware scan. ./hardware.nix - #"${builtins.fetchTarball "https://github.com/nix-community/disko/archive/master.tar.gz"}/module.nix" + #"${builtins.fetchTarball "https://github.com/nix-community/disko/archive/master.tar.gz"}/module.nix" ./network.nix ../../config.nix @@ -13,14 +13,48 @@ ## trim to keep SSDs healthy-ish services.fstrim.enable = true; + #powerManagement = { + #enable = true; + + #powertop.enable = true; + + #cpuFreqGovernor = Lib.mkDefault "performance"; + + #cpufreq = { + #min = 1500000; + #max = 4400000; + #}; + #}; + + hardware = { + + cpu.intel.updateMicrocode = true; + + enableAllFirmware = false; + + #bluetooth.enable = true; + + opengl = { + enable = true; + extraPackages = with pkgs; [ + intel-compute-runtime + intel-media-driver + vaapiIntel + vaapiVdpau + libvdpau-va-gl + ]; + }; + + }; + nix = { - #settings = { - #}; + #settings = { + #}; gc = { ## every day, automatically collect garbage older than 10 days automatic = true; dates = "daily"; - options = "--delete-older-than 10d"; + options = "--delete-older-than 3d"; persistent = true; }; }; diff --git a/core/hosts/persephone/config.nix b/core/hosts/persephone/config.nix index 2102160..9fb2b20 100644 --- a/core/hosts/persephone/config.nix +++ b/core/hosts/persephone/config.nix @@ -4,8 +4,8 @@ imports = [ # Include the results of the hardware scan. ./hardware-config.nix - #${builtins.fetchTarball "https://github.com/nix-community/disko/archive/master.tar.gz"}/module.nix" - #./network-configuration.nix + #${builtins.fetchTarball "https://github.com/nix-community/disko/archive/master.tar.gz"}/module.nix" + #./network-configuration.nix ../../config.nix ];