bundle scripts in config

This commit is contained in:
2026-09-13 14:07:29 +02:00
parent 9cb612b926
commit 1304ff7c43
2 changed files with 20 additions and 17 deletions
+9 -1
View File
@@ -3,7 +3,14 @@
{ {
imports = [home-manager.nixosModules.home-manager]; imports = [home-manager.nixosModules.home-manager];
home-manager.users.shatteredmint = { home-manager.users.shatteredmint = {
home.packages = with pkgs; [ home.packages = with pkgs; let
keepass = pkgs.writeShellScriptBin "keepass" ''
veracrypt $1 /mnt/vera
keepassxc /mnt/vera/Passwords.kdbx
veracrypt -d /mnt/vera
'';
in [
thunderbird thunderbird
firefox firefox
lazygit lazygit
@@ -12,6 +19,7 @@
kdePackages.yakuake kdePackages.yakuake
wl-clipboard wl-clipboard
makemkv makemkv
keepass
]; ];
}; };
-5
View File
@@ -77,10 +77,5 @@
''; '';
}; };
home.sessionPath = [
"$HOME/scripts"
];
}; };
} }