diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-03-17 01:18:45 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-03-17 01:18:45 +0100 |
commit | c3fb4c2600b16f2b38e0d5a2eec5dd0a9bf79387 (patch) | |
tree | efe710023520a4e953216c3e38d98f6f206e6cf1 | |
parent | 68f357751b9f2f405a7e43ac711f7839daf3b3f4 (diff) |
machines: Add dummy boot/fileSystems attributes.
As these machines are not deployed yet, we need to put in dummy values, because if we're not building VMs those attributes are expected to be set and end up with an evaluation error. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
-rw-r--r-- | machines/heinrich.nix | 4 | ||||
-rw-r--r-- | machines/labtop.nix | 4 | ||||
-rw-r--r-- | machines/mailserver.nix | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/machines/heinrich.nix b/machines/heinrich.nix index 48b20c7a..3eaddea5 100644 --- a/machines/heinrich.nix +++ b/machines/heinrich.nix @@ -109,6 +109,10 @@ in { 5. Reisst dir Hannes den Arsch auf, wenn Du die Punkte 0-2 ignorierst. ''; + # TODO: This is a dummy, replace it once we know about the real root fs. + fileSystems."/".label = "root"; + boot.loader.grub.device = "nodev"; + networking.useNetworkd = true; networking.firewall.enable = false; networking.nat.enable = true; diff --git a/machines/labtop.nix b/machines/labtop.nix index 0a5edea1..0b2c40ba 100644 --- a/machines/labtop.nix +++ b/machines/labtop.nix @@ -30,6 +30,10 @@ in { defaultLocale = "de_DE.UTF-8"; }; + # TODO: This is a dummy, replace it once we know about the real root fs. + fileSystems."/".label = "root"; + boot.loader.grub.device = "nodev"; + environment.systemPackages = [ greybird #repetierhost <- TODO diff --git a/machines/mailserver.nix b/machines/mailserver.nix index e3f6f847..30809d5b 100644 --- a/machines/mailserver.nix +++ b/machines/mailserver.nix @@ -41,6 +41,10 @@ in { services.postfix.enable = true; services.postfix.hostname = "mailtest.lan"; + # TODO: This is a dummy, replace it once we know about the real root fs. + fileSystems."/".label = "root"; + boot.loader.grub.device = "nodev"; + openlab.postfix.restrictions = { sender = [ "reject_authenticated_sender_login_mismatch" |