about summary refs log tree commit diff
path: root/nix/machines/vm-synology
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-09 08:28:01 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-09 08:28:01 -0800
commit0998d8294e21cd8bdc6ac94525df0aae51bb4b0d (patch)
tree06c34041e7fb2f474e046dbb5deec3f23f82f0af /nix/machines/vm-synology
parentset hostname and correct ssh key (diff)
downloadworld-0998d8294e21cd8bdc6ac94525df0aae51bb4b0d.tar.gz
move each machine into a directory
it will be easier to break down some configs.
Diffstat (limited to '')
-rw-r--r--nix/machines/vm-synology.nix4
-rw-r--r--nix/machines/vm-synology/default.nix5
-rw-r--r--nix/machines/vm-synology/hardware.nix (renamed from nix/machines/hardware/vm-synology.nix)0
3 files changed, 5 insertions, 4 deletions
diff --git a/nix/machines/vm-synology.nix b/nix/machines/vm-synology.nix
deleted file mode 100644
index 643c821..0000000
--- a/nix/machines/vm-synology.nix
+++ /dev/null
@@ -1,4 +0,0 @@
-{ ... }: {
-  imports = [ ./hardware/vm-synology.nix ./vm-shared.nix ];
-  networking.hostName = "vm-synology";
-}
diff --git a/nix/machines/vm-synology/default.nix b/nix/machines/vm-synology/default.nix
new file mode 100644
index 0000000..928ab86
--- /dev/null
+++ b/nix/machines/vm-synology/default.nix
@@ -0,0 +1,5 @@
+{ ... }: {
+  imports = [ ./hardware.nix ../vm-shared.nix ];
+
+  networking.hostName = "vm-synology";
+}
diff --git a/nix/machines/hardware/vm-synology.nix b/nix/machines/vm-synology/hardware.nix
index 5511e98..5511e98 100644
--- a/nix/machines/hardware/vm-synology.nix
+++ b/nix/machines/vm-synology/hardware.nix