From 5b4406ed806678593ca3391966071ced8eb9df6f Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 1 Jul 2023 19:42:22 +0200 Subject: Fix(system/disks): Add disk labels --- system/disks/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system') 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"; -- cgit 1.4.1