diff --git a/nixos/roles/default.nix b/nixos/roles/default.nix index f015cb8..155e259 100644 --- a/nixos/roles/default.nix +++ b/nixos/roles/default.nix @@ -1,21 +1,16 @@ { pkgs, lib, + modulesPath, 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 + ] ++ (if vm then [./vm.nix] else [./hardware.nix]); nix = { extraOptions = '' experimental-features = nix-command flakes