From 09a497b892fe18d6df13c6e05a575d022eb17295 Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 25 Apr 2024 22:04:03 +0900 Subject: [PATCH] Updates --- home-manager/default.nix | 6 ++++++ home-manager/small.nix | 1 + 2 files changed, 7 insertions(+) diff --git a/home-manager/default.nix b/home-manager/default.nix index a920e5ae..6f925e13 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -20,6 +20,12 @@ stateVersion = hmStateVersion; homeDirectory = "/home/${username}"; sessionPath = [ "$HOME/.local/bin" ]; + news.display = "silent"; + nix.gc = { + automatic = true; + frequency = "daily"; + options = "--delete-older-than 30d"; + }; }; nixpkgs = { diff --git a/home-manager/small.nix b/home-manager/small.nix index 2a4d1e33..37aff912 100644 --- a/home-manager/small.nix +++ b/home-manager/small.nix @@ -26,6 +26,7 @@ stateVersion = hmStateVersion; homeDirectory = "/home/${username}"; sessionPath = [ "$HOME/.local/bin" ]; + news.display = "silent"; nix.gc = { automatic = true; frequency = "daily";