From faea66d1e1cc3745c4ec3329b42a9f9c4596de07 Mon Sep 17 00:00:00 2001 From: Alexandre LUCAZEAU Date: Fri, 21 Jan 2022 10:58:28 +0100 Subject: [PATCH] configuration.nix DEL load SynergyC.nix FIX typo ADD garbage collector configuration packages.nix ADD networkmanager_openconnect for VPN services.nix add xfce4 thunar plugins --- nixos/configuration.nix | 12 ++++++++++-- nixos/packages.nix | 1 + nixos/services.nix | 1 + 3 files changed, 12 insertions(+), 2 deletions(-) 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 ]; }; };