diff options
author | Franck Cuny <franck@fcuny.net> | 2024-03-07 10:07:49 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-03-07 10:10:55 -0800 |
commit | 318978655894aaa82fdf4c5de1eb9c58cb351a91 (patch) | |
tree | c96d22c7f116fcf9c9ee56dd2c222f432540b0f5 /hosts | |
parent | install seqstat on the work profile (diff) | |
download | world-318978655894aaa82fdf4c5de1eb9c58cb351a91.tar.gz |
share configuration for shell utils
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) } |