users#nrd:fix broken parts
This commit is contained in:
parent
873c3a2eef
commit
32a668f41e
1 changed files with 11 additions and 9 deletions
|
@ -6,6 +6,7 @@ let
|
||||||
|
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
fileContents
|
fileContents
|
||||||
|
mkForce
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,7 +18,14 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.nrd = {
|
home-manager.users.nrd = {
|
||||||
packages = mkForce [];
|
home = {
|
||||||
|
packages = mkForce [];
|
||||||
|
|
||||||
|
file = {
|
||||||
|
".ec2-keys".source = ../secrets/ec2;
|
||||||
|
".cargo/credentials".source = ./secrets/cargo;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -32,7 +40,7 @@ in
|
||||||
ba = "branch -a";
|
ba = "branch -a";
|
||||||
bd = "branch -d";
|
bd = "branch -d";
|
||||||
bD = "branch -D";
|
bD = "branch -D";
|
||||||
d = "diff";
|
d = "diff";
|
||||||
dc = "diff --cached";
|
dc = "diff --cached";
|
||||||
ds = "diff --staged";
|
ds = "diff --staged";
|
||||||
st = "status -sb";
|
st = "status -sb";
|
||||||
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue