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