Compare commits
1 commit
b354be1529
...
72823c5e7d
Author | SHA1 | Date | |
---|---|---|---|
72823c5e7d |
1 changed files with 7 additions and 12 deletions
|
@ -1,21 +1,16 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
|
modulesPath,
|
||||||
vm ? true,
|
vm ? true,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports =
|
imports = [
|
||||||
[
|
./admins.nix
|
||||||
./admins.nix
|
./nix_keys.nix
|
||||||
./nix_keys.nix
|
./prometheusNodeExporter.nix
|
||||||
./prometheusNodeExporter.nix
|
../modules/impermanence.nix
|
||||||
../modules/impermanence.nix
|
] ++ (if vm then [./vm.nix] else [./hardware.nix]);
|
||||||
]
|
|
||||||
++ (
|
|
||||||
if vm
|
|
||||||
then [./vm.nix]
|
|
||||||
else [./hardware.nix]
|
|
||||||
);
|
|
||||||
nix = {
|
nix = {
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue