nixos: invert common dependency

This commit is contained in:
Vivian 2021-11-21 14:35:09 +01:00
parent da803f5e55
commit 738c8c0faa
11 changed files with 25 additions and 44 deletions

View file

@ -17,9 +17,6 @@ in {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
# Import common config
../../common/generic-vm.nix
../../common
];
# Use the GRUB 2 boot loader.

View file

@ -6,9 +6,6 @@
{
imports = [
# Import common config
../../common/generic-lxc.nix
../../common
];
networking.hostName = "consul";

View file

@ -2,9 +2,6 @@
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
# Import common config
../../common/generic-vm.nix
../../common
];
# Use the GRUB 2 boot loader.

View file

@ -6,9 +6,6 @@
let mosquittoPort = 1883;
in {
imports = [
# Import common config
../../common/generic-lxc.nix
../../common
];
networking.hostName = "mosquitto";

View file

@ -14,9 +14,6 @@ let
};
in {
imports = [
# Import common config
../../common/generic-lxc.nix
../../common
];
networking.hostName = "nginx";

View file

@ -6,9 +6,6 @@
{
imports = [
# Import common config
../../common/generic-lxc.nix
../../common
];
networking.hostName = "vault";