aboutsummaryrefslogtreecommitdiff
path: root/modules/nix/system/default.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-08-04 13:09:02 -0500
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-08-04 13:09:02 -0500
commit59bb582382fe0dbb7c10b21e99615511f8fd5254 (patch)
tree9d697413093c18497e9ee169f2bb7fb4e7348ac2 /modules/nix/system/default.nix
parent795e81ac1d240983057d4faa674a1d7b65182c50 (diff)
direnv and cached nix shells
Diffstat (limited to 'modules/nix/system/default.nix')
-rw-r--r--modules/nix/system/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/nix/system/default.nix b/modules/nix/system/default.nix
index 990e562..9c5c51e 100644
--- a/modules/nix/system/default.nix
+++ b/modules/nix/system/default.nix
@@ -1,4 +1,4 @@
-{
+{config, pkgs, ...}: {
nix = {
gc.automatic = false; # use nh cleaner instead
@@ -25,4 +25,6 @@
flake = "/home/collin/nixos";
clean.enable = true;
};
+
+ hjem.users."${config.collinux.user.name}".packages = [pkgs.cached-nix-shell];
}