From 8fac714b783f6959ad32f07976a6ab5413011bd5 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 17 Nov 2024 11:43:53 +0100 Subject: [PATCH] nixos/g810-led: fix module --- nixos/modules/services/hardware/g810-led.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/hardware/g810-led.nix b/nixos/modules/services/hardware/g810-led.nix index 25472f0ac1e6..d8918b64a6f0 100644 --- a/nixos/modules/services/hardware/g810-led.nix +++ b/nixos/modules/services/hardware/g810-led.nix @@ -36,9 +36,9 @@ in }; config = lib.mkIf cfg.enable { - environment.etc."g810-led/profile" = lib.mkIf (cfg.profile != null) cfg.profile; + environment.etc."g810-led/profile".text = lib.mkIf (cfg.profile != null) cfg.profile; - services.udev.packages = [ config.package ]; + services.udev.packages = [ cfg.package ]; }; meta.maintainers = with lib.maintainers; [ GaetanLepage ];