users#nrd:fix broken parts

This commit is contained in:
Timothy DeHerrera 2019-12-15 03:07:35 -07:00
parent 873c3a2eef
commit 32a668f41e
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122

View File

@ -6,6 +6,7 @@ let
inherit (lib) inherit (lib)
fileContents fileContents
mkForce
; ;
@ -17,8 +18,15 @@ in
]; ];
home-manager.users.nrd = { home-manager.users.nrd = {
home = {
packages = mkForce []; packages = mkForce [];
file = {
".ec2-keys".source = ../secrets/ec2;
".cargo/credentials".source = ./secrets/cargo;
};
};
programs.git = { programs.git = {
enable = true; enable = true;
@ -58,7 +66,6 @@ in
programs.ssh = { programs.ssh = {
enable = true; enable = true;
hashKnownHosts = true; hashKnownHosts = true;
identitiesOnly = true;
matchBlocks = let matchBlocks = let
githubKey = toFile "github" githubKey = toFile "github"
@ -92,7 +99,7 @@ in
}; };
}; };
services.gng-agent = { services.gpg-agent = {
enable = true; enable = true;
defaultCacheTtl = 1800; defaultCacheTtl = 1800;
maxCacheTtl = 1800; maxCacheTtl = 1800;
@ -101,11 +108,6 @@ in
enableSshSupport = true; enableSshSupport = true;
grabKeyboardAndMouse = true; grabKeyboardAndMouse = true;
}; };
file = {
".ec2-keys".source = ../secrets/ec2;
".cargo/credentials".source = ./secrets/cargo;
};
}; };
users.users.nrd = { users.users.nrd = {