diff options
Diffstat (limited to 'home/environ/source.nix')
| -rw-r--r-- | home/environ/source.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/home/environ/source.nix b/home/environ/source.nix new file mode 100644 index 0000000..ed9f53c --- /dev/null +++ b/home/environ/source.nix @@ -0,0 +1,23 @@ +{ config, lib, pkgs, ... }: +with lib; let + cfg = config.local.environ; + + py = pkgs.python3Packages; +in +{ + config = mkIf cfg.enable { + nix.registry."system".to = { + type = "path"; + path = "${config.home.homeDirectory}/nix"; + }; + + programs = { + git.signing.signByDefault = true; + home-manager.enable = true; + }; + + xdg.configFile."home-manager" = { + source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nix"; + }; + }; +} |
