✨ [shared] Added fzf, ssh hm config, reencrypted secrets
This commit is contained in:
@ -25,6 +25,7 @@ in
|
||||
./shell
|
||||
./sioyek.nix
|
||||
./spicetify.nix
|
||||
./ssh.nix
|
||||
./zen
|
||||
];
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
./eza.nix
|
||||
./fastfetch.nix
|
||||
./fish.nix
|
||||
./fzf.nix
|
||||
./yazi
|
||||
./zoxide.nix
|
||||
];
|
||||
|
13
shared/home-manager/shell/fzf.nix
Normal file
13
shared/home-manager/shell/fzf.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ theme, ... }:
|
||||
|
||||
{
|
||||
catppuccin.fzf = {
|
||||
enable = true;
|
||||
flavor = theme.flavor;
|
||||
};
|
||||
|
||||
programs.fzf = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
}
|
22
shared/home-manager/ssh.nix
Normal file
22
shared/home-manager/ssh.nix
Normal file
@ -0,0 +1,22 @@
|
||||
# ~/.ssh/config
|
||||
{ systemConfig, ... }:
|
||||
|
||||
{
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
matchBlocks =
|
||||
let
|
||||
block = hostname: {
|
||||
port = 22;
|
||||
user = systemConfig.username;
|
||||
hostname = "${hostname}.dns.martials.no";
|
||||
};
|
||||
in
|
||||
{
|
||||
desktop = block "desktop";
|
||||
homelab = block "admin"; # TODO rename to homelab
|
||||
pi4 = block "pi4";
|
||||
thinkpad = block "thinkpad";
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user