Compare commits

..

1 commit

Author SHA1 Message Date
6eaf428a02 Create a clean profile 2024-12-16 13:05:08 +01:00
3 changed files with 8 additions and 2 deletions

View file

@ -46,7 +46,7 @@
DerGeret = import ./profiles/machines/manuel/DerGeret/Arch/config.nix; DerGeret = import ./profiles/machines/manuel/DerGeret/Arch/config.nix;
ManuSurface = import ./profiles/machines/manuel/ManuSurface/Arch/config.nix; ManuSurface = import ./profiles/machines/manuel/ManuSurface/Arch/config.nix;
server = import ./profiles/machines/manuel/server.nix; server = import ./profiles/machines/manuel/server.nix;
clean = { ... }: { clean = {}: {
config = { config = {
valhalla = { valhalla = {
hostname = "Falcon"; hostname = "Falcon";

View file

@ -44,6 +44,12 @@ let
"/dev/${config.name}"; "/dev/${config.name}";
}; };
deviceScript = mkOption {
type = types.str;
description = "A command for loading the device path into the device variable";
internal = true;
};
deviceVariable = mkOption { deviceVariable = mkOption {
type = types.str; type = types.str;
description = "The name of the variable holding the name of the disk"; description = "The name of the variable holding the name of the disk";

View file

@ -14,7 +14,7 @@
components = [ "Logitech G903" ]; components = [ "Logitech G903" ];
}; };
fileSystems.diskSetup.devices.OS.name = "nvme0n1"; partition.os.deviceName = "nvme0n1";
}; };
}; };
} }