add ssh & ssh key code signing git support for WSL
This commit is contained in:
parent
0dc6c4cbf8
commit
ec1c48835d
9
home/sshWSL.nix
Normal file
9
home/sshWSL.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{...}: {
|
||||||
|
programs.ssh.matchBlocks."*".identityFile = "/home/chaos/.ssh/id_ed25519";
|
||||||
|
programs.git.extraConfig = {
|
||||||
|
gpg.format = "ssh";
|
||||||
|
commit.gpgsign = "true";
|
||||||
|
tag.gpgsign = "true";
|
||||||
|
user.signingKey = "/home/chaos/.ssh/id_ed25519";
|
||||||
|
};
|
||||||
|
}
|
|
@ -15,16 +15,17 @@
|
||||||
home.base
|
home.base
|
||||||
home.dev.all
|
home.dev.all
|
||||||
home.homeFolders
|
home.homeFolders
|
||||||
|
home.sshWSL
|
||||||
|
|
||||||
home.programming.editors.vscode
|
home.programming.editors.vscode
|
||||||
home.programming.languages.rust
|
home.programming.languages.rust
|
||||||
home.programming.languages.nix
|
home.programming.languages.nix
|
||||||
|
|
||||||
home.gui.base
|
home.gui.base
|
||||||
|
|
||||||
home.apps.fileRoller
|
home.apps.fileRoller
|
||||||
home.apps.mpv
|
home.apps.mpv
|
||||||
|
|
||||||
home.apps.quassel
|
home.apps.quassel
|
||||||
home.apps.toot-cli
|
home.apps.toot-cli
|
||||||
|
|
||||||
|
@ -35,7 +36,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
wsl = {
|
wsl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultUser = "chaos";
|
defaultUser = "chaos";
|
||||||
interop.register = true;
|
interop.register = true;
|
||||||
|
|
Loading…
Reference in a new issue