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.dev.all
|
||||
home.homeFolders
|
||||
home.sshWSL
|
||||
|
||||
home.programming.editors.vscode
|
||||
home.programming.languages.rust
|
||||
home.programming.languages.nix
|
||||
|
||||
|
||||
home.gui.base
|
||||
|
||||
home.apps.fileRoller
|
||||
home.apps.mpv
|
||||
|
||||
|
||||
home.apps.quassel
|
||||
home.apps.toot-cli
|
||||
|
||||
|
@ -35,7 +36,7 @@
|
|||
];
|
||||
};
|
||||
|
||||
wsl = {
|
||||
wsl = {
|
||||
enable = true;
|
||||
defaultUser = "chaos";
|
||||
interop.register = true;
|
||||
|
|
Loading…
Reference in a new issue