Move all flakes into modules/ and sep't, create deploy script for a1d2
Change-Id: Ie4d50fb8f16da193195beb139922a366b72b0b0a
diff --git a/modules/common/drivePaths.nix b/modules/common/drivePaths.nix
new file mode 100644
index 0000000..2f99b4d
--- /dev/null
+++ b/modules/common/drivePaths.nix
@@ -0,0 +1,9 @@
+{ drive_paths, lib, ... }:
+if drive_paths == null
+then {}
+else {
+ fileSystems = lib.mapAttrs' (name: value: {
+ name = value.path;
+ value.device = "/dev/disk/by-uuid/${value.uuid}";
+ }) drive_paths;
+}