From dca26699aab9db7408e81b51aab1d72292cb9678 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Mon, 16 Dec 2024 13:29:43 +0100 Subject: [PATCH] Fix outdated settings --- lib/modules/fileSystems/disks.nix | 6 ------ profiles/machines/manuel/ManuSurface/config.nix | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) 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"; }; }; }