tangled
alpha
login
or
join now
encode42.dev
/
nixos
0
fork
atom
Personal-use NixOS configuration
0
fork
atom
overview
issues
pulls
pipelines
RGB control module
encode42.dev
6 months ago
d0738986
1021ab53
+20
4 changed files
expand all
collapse all
unified
split
hardware
cpu
amd.nix
intel.nix
hosts
prospect
default.nix
modules
common
system
rgb.nix
+2
hardware/cpu/amd.nix
···
6
6
7
7
nixos-hardware.nixosModules.common-cpu-amd
8
8
];
9
9
+
10
10
+
services.hardware.openrgb.motherboard = "amd";
9
11
}
+2
hardware/cpu/intel.nix
···
12
12
nixos-hardware.nixosModules.common-cpu-intel
13
13
];
14
14
15
15
+
services.hardware.openrgb.motherboard = "intel";
16
16
+
15
17
services.thermald.enable = isLaptop;
16
18
}
+1
hosts/prospect/default.nix
···
16
16
(flakeRoot + /modules/common)
17
17
(flakeRoot + /modules/common/boot/systemd-boot.nix)
18
18
(flakeRoot + /modules/common/system/audio.nix)
19
19
+
(flakeRoot + /modules/common/system/rgb.nix)
19
20
20
21
(flakeRoot + /modules/desktop/environments/gnome.nix)
21
22
+15
modules/common/system/rgb.nix
···
1
1
+
{ pkgs, ... }:
2
2
+
3
3
+
{
4
4
+
boot.kernelModules = [ "i2c-dev" ];
5
5
+
6
6
+
hardware.i2c = {
7
7
+
enable = true;
8
8
+
};
9
9
+
10
10
+
services.hardware.openrgb = {
11
11
+
enable = true;
12
12
+
13
13
+
package = pkgs.openrgb-with-all-plugins;
14
14
+
};
15
15
+
}