Add authentik-nix input
This commit is contained in:
parent
e87f6d396f
commit
9d1ece672f
1 changed files with 4 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
||||||
};
|
};
|
||||||
microvm.url = "github:astro/microvm.nix";
|
microvm.url = "github:astro/microvm.nix";
|
||||||
microvm.inputs.nixpkgs.follows = "nixpkgs";
|
microvm.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
authentik-nix.url = "github:nix-community/authentik-nix";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs@{ self, nixpkgs, home-manager, microvm, ... }:
|
outputs = inputs@{ self, nixpkgs, home-manager, microvm, ... }:
|
||||||
|
@ -16,6 +17,7 @@
|
||||||
hostName = "nixmox-perseverance";
|
hostName = "nixmox-perseverance";
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
username = "tbarnouin";
|
username = "tbarnouin";
|
||||||
|
proxy_host = "192.168.1.40";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
@ -67,6 +69,7 @@
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
inherit username;
|
inherit username;
|
||||||
inherit hostName;
|
inherit hostName;
|
||||||
|
inherit proxy_host;
|
||||||
inherit system;
|
inherit system;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -83,7 +86,7 @@
|
||||||
services.vm = {
|
services.vm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostname = "nginx";
|
hostname = "nginx";
|
||||||
vm_ip = "192.168.1.40";
|
vm_ip = "${proxy_host}";
|
||||||
macAddr = "02:00:00:00:00:40";
|
macAddr = "02:00:00:00:00:40";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue