Wanted to use agenix to encrypt rclone config. But to diffcult. Ended with a custom-mountkdrive which verifies the existence of the remote before launching

This commit is contained in:
Tomas Rivera
2026-02-27 16:53:50 +01:00
parent 8b1f877dd9
commit 30405baa2d
8 changed files with 45 additions and 78 deletions
-1
View File
@@ -9,7 +9,6 @@
[ # Include the results of the hardware scan.
./hardware-configuration.nix
inputs.home-manager.nixosModules.default
# inputs.nixvim.homeModules.default
];
+2
View File
@@ -16,6 +16,7 @@ imports = [
../../modules/home-manager/rofi.nix # launcher and keybindings helper
../../modules/home-manager/swaync.nix # notification daemon
../../modules/home-manager/neovim.nix # dont use nixvim. broken
../../modules/home-manager/rclone.nix
];
@@ -48,6 +49,7 @@ home.packages = [
(pkgs.callPackage ../../modules/scripts/weather.nix {})
(pkgs.callPackage ../../modules/scripts/cowsay.nix {})
(pkgs.callPackage ../../modules/scripts/wallpaper.nix {})
(pkgs.callPackage ../../modules/scripts/mountkdrive.nix {})
# # Adds the 'hello' command to your environment. It prints a friendly
# # "Hello, world!" when run.
# pkgs.hello