about summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/disks/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/disks/default.nix b/system/disks/default.nix
index 29b7d3cb..6bdde2fe 100644
--- a/system/disks/default.nix
+++ b/system/disks/default.nix
@@ -52,11 +52,11 @@ in {
                 name = "root";
                 content = {
                   type = "luks";
-                  name = "encrypted";
+                  name = "nixos";
                   extraOpenArgs = ["--allow-discards"];
                   content = {
                     type = "btrfs";
-                    extraArgs = ["-f"]; # Override existing partitions
+                    extraArgs = ["-f" "--label nixos"]; # Override existing partitions
                     subvolumes = {
                       "nix" = {
                         mountpoint = "/nix";