Compare commits

..

1 commit

Author SHA1 Message Date
45d0ef262f Differentiate hardware and vms in roles 2023-12-21 12:11:20 +01:00
2 changed files with 8 additions and 13 deletions

View file

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

View file

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