hosts: dmz: make microvm host persistant

This commit is contained in:
2024-01-20 12:02:32 +01:00
parent e2f0c80e31
commit fc026c4157
24 changed files with 158 additions and 120 deletions

View File

@@ -11,7 +11,7 @@
# └─ ./home.nix
#
{ lib, inputs, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, home-manager-unstable, nur, user, userdmz, userserver, location, agenix, jovian-nixos, microvm, ... }:
{ lib, inputs, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, home-manager-unstable, nur, user, userdmz, userserver, location, agenix, jovian-nixos, microvm, impermanence, ... }:
let
system = "x86_64-linux"; # System architecture
@@ -137,7 +137,6 @@ in
nasbackup = lib.nixosSystem { # Desktop profile
inherit system;
#user = "dmz-user";
specialArgs = { inherit inputs user location nixos-hardware nur agenix; };
modules = [
agenix.nixosModules.default
@@ -190,7 +189,7 @@ in
dmz = lib.nixosSystem { # Desktop profile
inherit system;
specialArgs = { inherit inputs user location nixos-hardware nur agenix nixpkgs; };
specialArgs = { inherit inputs user location nixos-hardware nur agenix nixpkgs impermanence; };
modules = [
agenix.nixosModules.default
nur.nixosModules.nur