From 2e6fe672d2c0f4a18cd3374e3fd4ed011e70babe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Tue, 21 Sep 2021 22:21:29 +0200 Subject: [PATCH] Fix direnv cache --- flake.nix | 3 ++- users/ben/default.nix | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 9f3cfbd..9e0b590 100644 --- a/flake.nix +++ b/flake.nix @@ -147,11 +147,12 @@ importables = rec { profiles = digga.lib.rakeLeaves ./users/profiles; suites = with profiles; rec { - base = [ direnv git ]; + base = [ direnv ]; }; }; users = { nixos = { suites, ... }: { imports = suites.base; }; + ben = { suites, ... }: { imports = suites.base; }; }; # digga.lib.importers.rakeLeaves ./users/hm; }; diff --git a/users/ben/default.nix b/users/ben/default.nix index a0d66f5..5e596f6 100644 --- a/users/ben/default.nix +++ b/users/ben/default.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, ... }: +{ config, hmUsers, pkgs, lib, ... }: let psCfg = config.pub-solar; in @@ -8,6 +8,8 @@ in ]; config = { + home-manager.users = { inherit (hmUsers) ben; }; + pub-solar = { # These are your personal settings # The only required settings are `name` and `password`,