diff --git a/lib/modules/fileSystems/disks.nix b/lib/modules/fileSystems/disks.nix index 03b51e4c..58a963a3 100644 --- a/lib/modules/fileSystems/disks.nix +++ b/lib/modules/fileSystems/disks.nix @@ -44,12 +44,6 @@ let "/dev/${config.name}"; }; - deviceScript = mkOption { - type = types.str; - description = "A command for loading the device path into the device variable"; - internal = true; - }; - deviceVariable = mkOption { type = types.str; description = "The name of the variable holding the name of the disk"; diff --git a/profiles/machines/manuel/ManuSurface/config.nix b/profiles/machines/manuel/ManuSurface/config.nix index a80bc783..23b0877c 100644 --- a/profiles/machines/manuel/ManuSurface/config.nix +++ b/profiles/machines/manuel/ManuSurface/config.nix @@ -14,7 +14,7 @@ components = [ "Logitech G903" ]; }; - partition.os.deviceName = "nvme0n1"; + fileSystems.diskSetup.devices.OS.name = "nvme0n1"; }; }; }