blob: ed9f53c0c1a681cd399565ce14ed1bcaae69b141 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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";
};
};
}
|