diff options
author | Soispha <soispha@vhack.eu> | 2023-07-01 19:42:22 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-07-10 16:44:13 +0200 |
commit | 5b4406ed806678593ca3391966071ced8eb9df6f (patch) | |
tree | 1617fa56048884ce4ff793c5a94fc26494546a6a /system/disks/default.nix | |
parent | Refactor(bootstrap): Use disko (diff) | |
download | nixos-config-5b4406ed806678593ca3391966071ced8eb9df6f.tar.gz nixos-config-5b4406ed806678593ca3391966071ced8eb9df6f.zip |
Fix(system/disks): Add disk labels
Diffstat (limited to 'system/disks/default.nix')
-rw-r--r-- | system/disks/default.nix | 4 |
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"; |