From c3fb4c2600b16f2b38e0d5a2eec5dd0a9bf79387 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 17 Mar 2015 01:18:45 +0100 Subject: 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 --- machines/heinrich.nix | 4 ++++ machines/labtop.nix | 4 ++++ machines/mailserver.nix | 4 ++++ 3 files changed, 12 insertions(+) (limited to 'machines') 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" -- cgit 1.4.1