From 5bc599772d97bcc8cfca79b22b2e7e420e87fcb0 Mon Sep 17 00:00:00 2001
From: Dmitriy Pleshevskiy <dmitriy@pleshevski.ru>
Date: Thu, 6 Mar 2025 12:52:15 +0300
Subject: [PATCH] host/home: add disko config

---
 flake.lock                 | 6 +++---
 flake.nix                  | 2 ++
 hosts/home/disk-config.nix | 3 +++
 3 files changed, 8 insertions(+), 3 deletions(-)
 create mode 100644 hosts/home/disk-config.nix

diff --git a/flake.lock b/flake.lock
index 2cf0c92..3eef205 100644
--- a/flake.lock
+++ b/flake.lock
@@ -30,11 +30,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1738148035,
-        "narHash": "sha256-KYOATYEwaKysL3HdHdS5kbQMXvzS4iPJzJrML+3TKAo=",
+        "lastModified": 1740485968,
+        "narHash": "sha256-WK+PZHbfDjLyveXAxpnrfagiFgZWaTJglewBWniTn2Y=",
         "owner": "nix-community",
         "repo": "disko",
-        "rev": "18d0a984cc2bc82cf61df19523a34ad463aa7f54",
+        "rev": "19c1140419c4f1cdf88ad4c1cfb6605597628940",
         "type": "github"
       },
       "original": {
diff --git a/flake.nix b/flake.nix
index 1d2a6d3..106c5c0 100644
--- a/flake.nix
+++ b/flake.nix
@@ -180,8 +180,10 @@
                 ++ [ ./hosts/${hostname}/configuration.nix ];
             })
           (import ./hosts inputs);
+
       diskoConfigurations = {
         asus-gl553vd = import ./hosts/asus-gl553vd/disk-config.nix;
+        home = import ./hosts/home/disk-config.nix;
       };
     };
 }
diff --git a/hosts/home/disk-config.nix b/hosts/home/disk-config.nix
new file mode 100644
index 0000000..95ca43e
--- /dev/null
+++ b/hosts/home/disk-config.nix
@@ -0,0 +1,3 @@
+import ../../disko/luks-btrfs.nix {
+  device = "/dev/disk/by-id/nvme-NE-256_2280_0014164009305";
+}