refactor host/guest profiles + add niangon
This commit is contained in:
parent
698bde5856
commit
10f55b04ca
6 changed files with 201 additions and 8 deletions
47
hive.nix
47
hive.nix
|
@ -17,6 +17,7 @@ let
|
|||
nodeNixpkgs = {
|
||||
# FIXME discourse est cassé en unstable
|
||||
pendragon = nixpkgs2411;
|
||||
niangon = nixpkgs2411;
|
||||
};
|
||||
in
|
||||
{
|
||||
|
@ -75,7 +76,7 @@ in
|
|||
networking.hostId = "1751e2a7";
|
||||
|
||||
imports = [
|
||||
./profiles/vogon.nix
|
||||
./profiles/vogon/host.nix
|
||||
./profiles/incus.nix
|
||||
];
|
||||
};
|
||||
|
@ -90,7 +91,7 @@ in
|
|||
|
||||
imports = [
|
||||
(disko.config diskConfig)
|
||||
./profiles/vm.nix
|
||||
./profiles/vm/pve.nix
|
||||
./profiles/glucagon.nix
|
||||
./profiles/matrix-server.nix
|
||||
./profiles/element.nix
|
||||
|
@ -111,7 +112,7 @@ in
|
|||
|
||||
imports = [
|
||||
(disko.config diskConfig)
|
||||
./profiles/vm.nix
|
||||
./profiles/vm/pve.nix
|
||||
./profiles/glucagon.nix
|
||||
./profiles/vaultwarden.nix
|
||||
];
|
||||
|
@ -129,7 +130,7 @@ in
|
|||
|
||||
imports = [
|
||||
(disko.config diskConfig)
|
||||
./profiles/vm.nix
|
||||
./profiles/vm/pve.nix
|
||||
./profiles/glucagon.nix
|
||||
./profiles/wayf.nix
|
||||
];
|
||||
|
@ -147,7 +148,7 @@ in
|
|||
|
||||
imports = [
|
||||
(disko.config diskConfig)
|
||||
./profiles/vm.nix
|
||||
./profiles/vm/pve.nix
|
||||
./profiles/glucagon.nix
|
||||
./profiles/gitlab.nix
|
||||
];
|
||||
|
@ -165,7 +166,7 @@ in
|
|||
|
||||
imports = [
|
||||
(disko.config diskConfig)
|
||||
./profiles/vm.nix
|
||||
./profiles/vm/pve.nix
|
||||
./profiles/glucagon.nix
|
||||
./profiles/discourse.nix
|
||||
];
|
||||
|
@ -183,7 +184,7 @@ in
|
|||
|
||||
imports = [
|
||||
(disko.config diskConfig)
|
||||
./profiles/vm.nix
|
||||
./profiles/vm/pve.nix
|
||||
./profiles/glucagon.nix
|
||||
./profiles/indico.nix
|
||||
];
|
||||
|
@ -199,7 +200,7 @@ in
|
|||
|
||||
imports = [
|
||||
(disko.config diskConfig)
|
||||
./profiles/vm.nix
|
||||
./profiles/vm/pve.nix
|
||||
./profiles/glucagon.nix
|
||||
./profiles/monitoring
|
||||
./profiles/grafana.nix
|
||||
|
@ -207,4 +208,34 @@ in
|
|||
|
||||
system.build.diskoScript = disko.diskoScript diskConfig pkgs;
|
||||
};
|
||||
|
||||
jargon = { pkgs, ... }: {
|
||||
deployment.tags = [ "postfix" ];
|
||||
|
||||
vogon.networking = {
|
||||
last-octet = 163;
|
||||
wan-mac = "00:16:3e:c7:aa:78";
|
||||
};
|
||||
|
||||
imports = [
|
||||
./profiles/vm/incus.nix
|
||||
./profiles/vogon/guest.nix
|
||||
#./profiles/mail.nix
|
||||
];
|
||||
};
|
||||
|
||||
niangon = { ... }: {
|
||||
deployment.tags = [ "git" "forgejo" ];
|
||||
|
||||
vogon.networking = {
|
||||
last-octet = 164;
|
||||
wan-mac = "00:16:3e:cc:71:f3";
|
||||
};
|
||||
|
||||
imports = [
|
||||
./profiles/vm/incus.nix
|
||||
./profiles/vogon/guest.nix
|
||||
#./profiles/forgejo.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue