From 7c96801a458eab2e1686c389d34e54187a2e28cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Barnouin?= Date: Thu, 5 Jun 2025 14:00:37 +0200 Subject: [PATCH] Add vaultwarden config --- flake.nix | 20 +++++++++++++++++++- services/default.nix | 2 +- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 4d0b785..24c9114 100644 --- a/flake.nix +++ b/flake.nix @@ -149,7 +149,7 @@ } ]; }; - qbittorrent-vpn = nixpkgs.lib.nixosSystem { + qbittorrent-vpn = nixpkgs.lib.nixosSystem { inherit system; specialArgs = {inherit inputs;}; modules = [ @@ -218,6 +218,24 @@ } ]; }; + vaultwarden = nixpkgs.lib.nixosSystem { + inherit system; + specialArgs = {inherit inputs;}; + modules = [ + agenix.nixosModules.default + crowdsec.nixosModules.crowdsec-firewall-bouncer + "${inputs.nixpkgs}/nixos/modules/virtualisation/proxmox-lxc.nix" + "${inputs.self}/systems/minimalLXCConfig.nix" + "${inputs.self}/services" + "${inputs.self}/modules" + { + networking.hostName = "vaultwarden"; + services.vm_vaultwarden = { + enable = true; + }; + } + ]; + }; grafana-lxc = nixpkgs.lib.nixosSystem { inherit system; specialArgs = {inherit inputs;}; diff --git a/services/default.nix b/services/default.nix index 2d5d21e..29c63c1 100644 --- a/services/default.nix +++ b/services/default.nix @@ -6,11 +6,11 @@ ./jellyfin ./nextcloud ./grafana - ./authentik ./postgresql ./onlyoffice ./collabora ./qbittorrent-vpn ./nixarr + ./vaultwarden ]; }