Compare commits

..

1 commit

Author SHA1 Message Date
511243fcbf Differentiate hardware and vms in roles 2023-12-19 13:42:08 +01:00
2 changed files with 13 additions and 8 deletions

View file

@ -3,7 +3,6 @@
./hardware-configuration.nix
../../modules/jitsi.nix
../../roles
../../roles/vm.nix
./network.nix
];

View file

@ -1,15 +1,21 @@
{
pkgs,
lib,
vm ? true,
...
}: {
imports = [
imports =
[
./admins.nix
./nix_keys.nix
./prometheusNodeExporter.nix
../modules/impermanence.nix
];
]
++ (
if vm
then [./vm.nix]
else [./hardware.nix]
);
nix = {
extraOptions = ''
experimental-features = nix-command flakes