diff options
| author | Grigory Shipunov | 2025-02-02 23:18:19 +0000 |
|---|---|---|
| committer | Grisha Shipunov | 2025-02-05 18:39:11 +0100 |
| commit | 9ebfe0c59b6503b4b29744ad7b63c3e4addcc84b (patch) | |
| tree | 381f92c8131930ae5fc3dcfdd190c8aee73264ba /hosts | |
| parent | 9842b2df1aaee81591f50904e89ababb6677e0e3 (diff) | |
less microvm boilerplate
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/auth/authentik.nix | 5 | ||||
| -rw-r--r-- | hosts/minime/uvm.nix | 24 |
2 files changed, 4 insertions, 25 deletions
diff --git a/hosts/auth/authentik.nix b/hosts/auth/authentik.nix index f60f269..023e2db 100644 --- a/hosts/auth/authentik.nix +++ b/hosts/auth/authentik.nix @@ -1,5 +1,8 @@ -{ config, ... }: +{ config, inputs, ... }: { + imports = [ + inputs.authentik-nix.nixosModules.default + ]; sops.secrets."authentik/env" = { }; services.authentik = { enable = true; diff --git a/hosts/minime/uvm.nix b/hosts/minime/uvm.nix deleted file mode 100644 index 93f2253..0000000 --- a/hosts/minime/uvm.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ inputs, ... }: -{ - microvm.stateDir = "/var/lib/microvms"; - microvm.autostart = [ - "auth" - "radicale" - "immich" - "miniflux" - ]; - microvm.vms = { - auth = { - flake = inputs.self; - updateFlake = "github:gshipunov/nix-config/master"; - }; - radicale = { - flake = inputs.self; - updateFlake = "github:gshipunov/nix-config/master"; - }; - immich = { - flake = inputs.self; - updateFlake = "github:gshipunov/nix-config/master"; - }; - }; -} |
