[shared] Added fzf, ssh hm config, reencrypted secrets

This commit is contained in:
2025-04-21 11:54:22 +02:00
parent 15d5121f0e
commit 33351682c0
5 changed files with 59 additions and 13 deletions

View File

@ -25,6 +25,7 @@ in
./shell
./sioyek.nix
./spicetify.nix
./ssh.nix
./zen
];

View File

@ -5,6 +5,7 @@
./eza.nix
./fastfetch.nix
./fish.nix
./fzf.nix
./yazi
./zoxide.nix
];

View File

@ -0,0 +1,13 @@
{ theme, ... }:
{
catppuccin.fzf = {
enable = true;
flavor = theme.flavor;
};
programs.fzf = {
enable = true;
enableFishIntegration = true;
};
}

View 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";
};
};
}