From 2a04f9a10a506e5d9367c1be9850d1e9d99cab0c Mon Sep 17 00:00:00 2001 From: serenity-F Date: Tue, 12 Nov 2024 16:18:06 +1000 Subject: [PATCH] moving some things into central config --- core/config.nix | 10 ++++++++++ hosts/hades/default.nix | 33 +++++++-------------------------- 2 files changed, 17 insertions(+), 26 deletions(-) diff --git a/core/config.nix b/core/config.nix index 50199d7..21beaf3 100644 --- a/core/config.nix +++ b/core/config.nix @@ -38,6 +38,16 @@ download-buffer-size = [ "268435456" ]; allowed-users = [ "@wheel" ]; ## Enable flakes uwu + gc = { + ## Automatically run 'nix-collect-garbage' + automatic = true; + ## Ever day. + dates = "daily"; + ## and clear junk older than x days + options = "--delete-older-than 2d"; + ## No clue what this does lol. + #persistent = true; + }; experimental-features = [ "recursive-nix" "nix-command" diff --git a/hosts/hades/default.nix b/hosts/hades/default.nix index 8ad6e6a..a850fa3 100644 --- a/hosts/hades/default.nix +++ b/hosts/hades/default.nix @@ -11,25 +11,6 @@ ./modules/zfs.nix ]; - nix = { - - settings = { - - }; - - gc = { - ## Automatically run 'nix-collect-garbage' - automatic = true; - ## Ever day. - dates = "daily"; - ## and clear junk older than x days - options = "--delete-older-than 3d"; - ## No clue what this does lol. - #persistent = true; - }; - - }; - hardware = { enableAllFirmware = true; @@ -39,11 +20,11 @@ enable = true; ## Packages for integrated graphics inside Hades extraPackages = with pkgs; [ - intel-compute-runtime - intel-media-driver - vaapiIntel - vaapiVdpau - libvdpau-va-gl + #intel-compute-runtime + #intel-media-driver + #vaapiIntel + #vaapiVdpau + #libvdpau-va-gl ]; }; @@ -54,8 +35,8 @@ amdvlk = { enable = true; #package = [ ]; - support32Bit.enable = true; - supportExperimental.enable = true; + #support32Bit.enable = true; + #supportExperimental.enable = true; #settings = { #}; };