From b38283cbc70b7d67e954cad75d9e112a275282fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=E2=80=9CNiols=E2=80=9D=20Jeannerod?= Date: Fri, 31 Jan 2025 12:03:19 +0100 Subject: [PATCH] Circumvent NixOS module + attrset issue --- infra/vm02179/configuration.nix | 7 +++++++ infra/vm02179/default.nix | 7 ++----- 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 infra/vm02179/configuration.nix diff --git a/infra/vm02179/configuration.nix b/infra/vm02179/configuration.nix new file mode 100644 index 0000000..c4075c9 --- /dev/null +++ b/infra/vm02179/configuration.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: + +{ + environment.systemPackages = with pkgs; [ + cowsay + ]; +} diff --git a/infra/vm02179/default.nix b/infra/vm02179/default.nix index 196aed2..bb8e522 100644 --- a/infra/vm02179/default.nix +++ b/infra/vm02179/default.nix @@ -1,5 +1,6 @@ -{ pkgs, ... }: { + imports = [ ./configuration.nix ]; + procolix.vm = { name = "vm02179"; ip4 = "185.206.232.179"; @@ -19,8 +20,4 @@ "dmask=0022" ]; }; - - environment.systemPackages = with pkgs; [ - cowsay - ]; }