From f30534ffa9e9a53c7b18445b68dbf91e569118be Mon Sep 17 00:00:00 2001 From: Forestcat Date: Sun, 26 Nov 2023 21:09:15 +0100 Subject: [PATCH] removed hyprland & added garbage collection --- nixos/configuration.nix | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 6a4ef50..2ba44df 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -171,10 +171,11 @@ # services.xserver.displayManager.lightdm.enable = true; # Hyperland - programs.hyprland = { - enable = true; - xwayland.enable = true; - }; + # programs.hyprland = { + # enable = true; + # xwayland.enable = true; + # }; + environment.sessionVariables = { WLR_NO_HARDWARE_CURSORS = "1"; # if mouse cursor invisible @@ -191,7 +192,14 @@ # Enabling Pipewire for Audio Support services.pipewire.enable = true; nix.settings.experimental-features = [ "nix-command" "flakes" ]; - + + + # Automatic Garbage collection + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 7d"; + }; #Hardwarebeschleunigung f@r wayland # hardware.opengl = { # enable = true;