diff --git a/nixosConfigurations/hosts/disko/mini-pc.nix b/nixosConfigurations/hosts/disko/mini-pc.nix index cd6f1de..a48f848 100755 --- a/nixosConfigurations/hosts/disko/mini-pc.nix +++ b/nixosConfigurations/hosts/disko/mini-pc.nix @@ -1,7 +1,7 @@ { disko.devices = { disk = { - main = { + "${xlib.device.hostname}" = { device = "/dev/sda"; type = "disk"; content = { @@ -27,6 +27,9 @@ type = "filesystem"; format = "ext4"; mountpoint = "/"; + extraArgs = [ + "-L ${xlib.device.hostname}" # Filesystem label + ]; }; }; swap = {