aboutsummaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-01 19:42:22 +0200
committerSoispha <soispha@vhack.eu>2023-07-10 16:44:13 +0200
commit5b4406ed806678593ca3391966071ced8eb9df6f (patch)
tree1617fa56048884ce4ff793c5a94fc26494546a6a /system
parentRefactor(bootstrap): Use disko (diff)
downloadnixos-config-5b4406ed806678593ca3391966071ced8eb9df6f.zip
Fix(system/disks): Add disk labels
Diffstat (limited to 'system')
-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";