Skip to content

Commit

Permalink
Replace deprecated types.string
Browse files Browse the repository at this point in the history
  • Loading branch information
pdalpra committed Aug 18, 2024
1 parent 53990dc commit 754d0ca
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions modules/nixos/illuminanced.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ in
};
log = {
file = mkOption {
type = string;
type = str;
default = "syslog";
description = "'syslog' or path to a file";
};
Expand Down Expand Up @@ -99,28 +99,28 @@ in
};
devices = {
current = mkOption {
type = string;
type = str;
default = "/sys/class/backlight/amdgpu_bl1/brightness";
description = "Path to device file with the current brightness level";
};
max = mkOption {
type = string;
type = str;
default = "/sys/class/backlight/amdgpu_bl1/max_brightness";
description = "Path to device file with the max brightness level";
};
illuminance = mkOption {
type = string;
type = str;
default = "/sys/bus/iio/devices/iio:device0/in_illuminance_raw";
description = "Path to device file with the detected illuminance";
};
events = {
mask = mkOption {
type = string;
type = str;
default = "/dev/input/event*";
description = "TODO documentation";
};
name = mkOption {
type = string;
type = str;
default = "Framework Laptop 16 Keyboard Module - ISO Keyboard";
description = "TODO documentation";
};
Expand Down

0 comments on commit 754d0ca

Please sign in to comment.