Add gpg and ssh settings (home-manager)
This commit is contained in:
parent
06e6ff5e66
commit
e35cd83598
4 changed files with 73 additions and 0 deletions
|
@ -8,9 +8,11 @@
|
|||
./fzf.nix
|
||||
./git.nix
|
||||
./gnome.nix
|
||||
./gpg.nix
|
||||
./neovim.nix
|
||||
./pass.nix
|
||||
./ripgrep.nix
|
||||
./ssh.nix
|
||||
./zellij.nix
|
||||
./zsh.nix
|
||||
];
|
||||
|
|
13
users/functionalhacker/programs/gpg.nix
Normal file
13
users/functionalhacker/programs/gpg.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
publicKeys = [
|
||||
{
|
||||
source = ../pubkey.asc;
|
||||
trust = 5;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
20
users/functionalhacker/programs/ssh.nix
Normal file
20
users/functionalhacker/programs/ssh.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
matchBlocks = {
|
||||
moria = {
|
||||
hostname = "korhonen.cc";
|
||||
user = "balrog";
|
||||
port = 221;
|
||||
};
|
||||
|
||||
forgejo = {
|
||||
hostname = "git.korhonen.cc";
|
||||
user = "git";
|
||||
port = 2882;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue