diff options
Diffstat (limited to '')
-rw-r--r-- | hosts/mba/default.nix | 14 | ||||
-rw-r--r-- | hosts/work/default.nix | 4 |
2 files changed, 14 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; } diff --git a/hosts/work/default.nix b/hosts/work/default.nix index 97777e5..bad369a 100644 --- a/hosts/work/default.nix +++ b/hosts/work/default.nix @@ -29,7 +29,11 @@ let user = "fcuny"; in # Touch ID for sudo auth security.pam.enableSudoTouchIdAuth = true; +<<<<<<< HEAD home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.users.fcuny = import ../../nix/profiles/home-manager/work.nix { inherit pkgs self; }; +======= + home-manager.users.fcuny = import ../../nix/profiles/home-manager/work.nix; +>>>>>>> 3a08a78 (share configuration for shell utils) } |