about summary refs log tree commit diff
path: root/hosts/mba
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-03-07 10:07:49 -0800
committerFranck Cuny <franck@fcuny.net>2024-03-07 10:10:55 -0800
commit318978655894aaa82fdf4c5de1eb9c58cb351a91 (patch)
treec96d22c7f116fcf9c9ee56dd2c222f432540b0f5 /hosts/mba
parentinstall seqstat on the work profile (diff)
downloadworld-318978655894aaa82fdf4c5de1eb9c58cb351a91.tar.gz
share configuration for shell utils
Diffstat (limited to 'hosts/mba')
-rw-r--r--hosts/mba/default.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/hosts/mba/default.nix b/hosts/mba/default.nix
index 7d20580..772cf8a 100644
--- a/hosts/mba/default.nix
+++ b/hosts/mba/default.nix
@@ -1,9 +1,17 @@
-{ pkgs, self, ... }:
+{ pkgs, ... }:
 {
   services.nix-daemon.enable = true;
 
   nix = {
     package = pkgs.nixFlakes;
+
+    gc = {
+      user = "root";
+      automatic = true;
+      interval = { Weekday = 0; Hour = 2; Minute = 0; };
+      options = "--delete-older-than 30d";
+    };
+
     settings = {
       experimental-features = [ "nix-command" "flakes" ];
     };
@@ -19,7 +27,5 @@
   # Touch ID for sudo auth
   security.pam.enableSudoTouchIdAuth = true;
 
-  home-manager.useGlobalPkgs = true;
-  home-manager.useUserPackages = true;
-  home-manager.users.fcuny = import ../../nix/profiles/home-manager/personal.nix { inherit pkgs self; };
+  home-manager.users.fcuny = import ../../nix/profiles/home-manager/personal.nix;
 }