diff --git a/common/misc.nix b/common/misc.nix index e470d54..af95d1b 100644 --- a/common/misc.nix +++ b/common/misc.nix @@ -1,7 +1,11 @@ { config, lib, pkgs, ... }: { - nix.gc.automatic = true; + nix.gc = { + automatic = true; + dates = "weekly"; + randomizedDelaySec = "45min"; + }; nix.optimise.automatic = true; services.fstrim.enable = true; } \ No newline at end of file diff --git a/home/qenya/xdg-mime-apps.nix b/home/qenya/xdg-mime-apps.nix index 2fee46c..b16f234 100644 --- a/home/qenya/xdg-mime-apps.nix +++ b/home/qenya/xdg-mime-apps.nix @@ -7,6 +7,7 @@ in xdg.mimeApps = { enable = isGraphical; defaultApplications = { + "application/pdf" = [ "org.gnome.Evince.desktop" "org.kde.okular.desktop" ]; "application/zip" = [ "org.gnome.FileRoller.desktop" "org.kde.ark.desktop" ]; "image/gif" = [ "org.gnome.Loupe.desktop" "org.kde.gwenview.desktop" ]; "image/jpeg" = [ "org.gnome.Loupe.desktop" "org.kde.gwenview.desktop" ]; diff --git a/hosts/kilgharrah/hardware.nix b/hosts/kilgharrah/hardware.nix index f00dfbd..10f0f48 100644 --- a/hosts/kilgharrah/hardware.nix +++ b/hosts/kilgharrah/hardware.nix @@ -25,5 +25,7 @@ # persistencedSha256 = "sha256-d0Q3Lk80JqkS1B54Mahu2yY/WocOqFFbZVBh+ToGhaE="; # patches = [ rcu_patch ]; # }; + + services.printing.drivers = [ pkgs.hplip ]; } diff --git a/hosts/tohru/hardware.nix b/hosts/tohru/hardware.nix index 715ed4f..a2515bd 100644 --- a/hosts/tohru/hardware.nix +++ b/hosts/tohru/hardware.nix @@ -4,5 +4,7 @@ hardware.enableAllFirmware = true; hardware.cpu.intel.updateMicrocode = true; services.fwupd.enable = true; + + services.printing.drivers = [ pkgs.hplip ]; }