From 9ebfe0c59b6503b4b29744ad7b63c3e4addcc84b Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Sun, 2 Feb 2025 23:18:19 +0000 Subject: less microvm boilerplate --- hosts/auth/authentik.nix | 5 ++++- hosts/minime/uvm.nix | 24 ------------------------ 2 files changed, 4 insertions(+), 25 deletions(-) delete mode 100644 hosts/minime/uvm.nix (limited to 'hosts') 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"; - }; - }; -} -- cgit v1.3.1