diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 6d5039c..3dbe29b 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -12,7 +12,6 @@ ./services.nix ./scanner.nix ./packages.nix - ./synergyC.nix ]; # Use the systemd-boot EFI boot loader. @@ -24,7 +23,7 @@ hardware.logitech.wireless.enable = true; hardware.logitech.wireless.enableGraphical = true; -services.printing.enable = true; + services.printing.enable = true; services.printing.drivers = [ pkgs.brlaser ]; # Video acceleration @@ -115,6 +114,15 @@ services.blueman.enable = true; ]; }; + # run garbage collector at 19h00 everyday + # and remove stuff older than 60 days + nix.gc.automatic = true; + nix.gc.dates = "19:00"; + nix.gc.persistent = true; + nix.gc.options = "--delete-older-than 60d"; + + # clean /tmp at boot + boot.cleanTmpDir = true; system.stateVersion = "21.05"; # Did you read the comment? users = { diff --git a/nixos/packages.nix b/nixos/packages.nix index a7861d0..3cb8d97 100644 --- a/nixos/packages.nix +++ b/nixos/packages.nix @@ -16,6 +16,7 @@ exfat-utils gsmartcontrol powerline-fonts networkmanagerapplet + networkmanager_openconnect xorg.xbacklight xfontsel font-manager diff --git a/nixos/services.nix b/nixos/services.nix index 4ee6d3a..ca77914 100644 --- a/nixos/services.nix +++ b/nixos/services.nix @@ -47,6 +47,7 @@ desktopManager = { xterm.enable = false; xfce.enable = true; + xfce.thunarPlugins = with pkgs; [ xfce.thunar-volman xfce.thunar-archive-plugin ]; }; };