diff options
Diffstat (limited to 'users/root.nix')
-rw-r--r-- | users/root.nix | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/users/root.nix b/users/root.nix index c6e7d712..24a5ae94 100644 --- a/users/root.nix +++ b/users/root.nix | |||
@@ -12,8 +12,30 @@ in { | |||
12 | }; | 12 | }; |
13 | 13 | ||
14 | home-manager.users.${userName} = { | 14 | home-manager.users.${userName} = { |
15 | programs = lib.mkIf haveGKleen { | 15 | programs = { |
16 | inherit (config.home-manager.users.gkleen.programs) git ssh gpg; | 16 | git = { |
17 | enable = true; | ||
18 | userEmail = "gkleen@yggdrasil.li"; | ||
19 | userName = "Gregor Kleen"; | ||
20 | delta.enable = true; | ||
21 | extraConfig = { | ||
22 | pull.rebase = false; | ||
23 | }; | ||
24 | }; | ||
25 | |||
26 | ssh = { | ||
27 | enable = true; | ||
28 | controlMaster = "auto"; | ||
29 | controlPersist = "30m"; | ||
30 | serverAliveInterval = 6; | ||
31 | hashKnownHosts = true; | ||
32 | extraConfig = '' | ||
33 | IdentitiesOnly true | ||
34 | ServerAliveCountMax 10 | ||
35 | ''; | ||
36 | }; | ||
37 | |||
38 | gpg.enable = true; | ||
17 | }; | 39 | }; |
18 | 40 | ||
19 | services = { | 41 | services = { |