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
+4 -4
View File
@@ -8,13 +8,13 @@
url = "github:nix-community/home-manager/release-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};
};
# never got nixvim to wokrs. ):
# nixvim = {
# url = "github:nix-community/nixvim/nixos-25.11";
# };
};
outputs = { self, nixpkgs, home-manager, nixvim, ... }@inputs:
outputs = { self, nixpkgs, home-manager, ... }@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
@@ -22,8 +22,8 @@
{
nixosConfigurations = {
laptop = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
specialArgs = { inherit inputs;};
modules = [
./hosts/laptop/configuration.nix
];
};