Move overlays into their own dirs

This commit is contained in:
Dave Gallant
2021-01-20 21:31:47 -05:00
parent 405d4e6f1b
commit 801f878edc
16 changed files with 196 additions and 159 deletions

View File

@@ -8,7 +8,6 @@
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "hephaestus"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
# Per-interface useDHCP will be mandatory in the future, so this generated config
@@ -50,14 +49,14 @@
# Open ports in the firewall.
networking.firewall.enable = true;
# systemd.services.g810-led = {
# description = "Set Logitech G810 Led Profile";
# serviceConfig = {
# ExecStart = "${pkgs.g810-led}/bin/g810-led -p /etc/g610-led/profile";
# Type = "oneshot";
# };
# wantedBy = [ "multi-user.target" ];
# };
systemd.services.g810-led = {
description = "Set Logitech G810 Led Profile";
serviceConfig = {
ExecStart = "${pkgs.g810-led}/bin/g810-led -p /etc/g610-led/profile";
Type = "oneshot";
};
wantedBy = [ "multi-user.target" ];
};
}

View File

@@ -26,10 +26,10 @@
hardware.video.hidpi.enable = lib.mkDefault true;
# Enable g810-led and set profile.
# hardware.g810-led.enable = true;
# hardware.g810-led.profile = builtins.toFile "g610-led-profile" ''
# a ff3000 # Set all keys to orange-red.
# c # Commit changes.
# '';
hardware.g810-led.enable = true;
hardware.g810-led.profile = builtins.toFile "g610-led-profile" ''
a 000000 # Set all keys to orange-red.
c # Commit changes.
'';
}