moving some things into central config

This commit is contained in:
serenity-F 2024-11-12 16:18:06 +10:00
parent f9d44a2c07
commit 2a04f9a10a
No known key found for this signature in database
2 changed files with 17 additions and 26 deletions

View file

@ -38,6 +38,16 @@
download-buffer-size = [ "268435456" ]; download-buffer-size = [ "268435456" ];
allowed-users = [ "@wheel" ]; allowed-users = [ "@wheel" ];
## Enable flakes uwu ## 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 = [ experimental-features = [
"recursive-nix" "recursive-nix"
"nix-command" "nix-command"

View file

@ -11,25 +11,6 @@
./modules/zfs.nix ./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 = { hardware = {
enableAllFirmware = true; enableAllFirmware = true;
@ -39,11 +20,11 @@
enable = true; enable = true;
## Packages for integrated graphics inside Hades ## Packages for integrated graphics inside Hades
extraPackages = with pkgs; [ extraPackages = with pkgs; [
intel-compute-runtime #intel-compute-runtime
intel-media-driver #intel-media-driver
vaapiIntel #vaapiIntel
vaapiVdpau #vaapiVdpau
libvdpau-va-gl #libvdpau-va-gl
]; ];
}; };
@ -54,8 +35,8 @@
amdvlk = { amdvlk = {
enable = true; enable = true;
#package = [ ]; #package = [ ];
support32Bit.enable = true; #support32Bit.enable = true;
supportExperimental.enable = true; #supportExperimental.enable = true;
#settings = { #settings = {
#}; #};
}; };