diff --git a/flake.nix b/flake.nix index f805528..aa3254b 100644 --- a/flake.nix +++ b/flake.nix @@ -197,6 +197,26 @@ ./hosts/sql ]; }; + nixosConfigurations."dav" = nixpkgs.lib.nixosSystem { + #system = "x86_64-linux"; + #pkgs = import nixpkgs { inherit system; }; + inherit system; + modules = [ + agenix.nixosModules.default + { environment.systemPackages = [ (agenix.packages.${system}.default) ]; } + { + age.secrets = { + radicale-htpasswd = { + file = ./secrets/radicale-htpasswd.age; + owner = "radicale"; + group = "radicale"; + mode = "0400"; + }; + }; + } + ./hosts/dav + ]; + }; }; #); }