added K40 laser software
This commit is contained in:
parent
e255edd80c
commit
87fa30b294
6 changed files with 20 additions and 3 deletions
|
@ -13,6 +13,7 @@
|
|||
desktop = {
|
||||
enable = true;
|
||||
dev.enable = true;
|
||||
laser.enable = true;
|
||||
windowManager = "niri-session";
|
||||
hyprland.enable = false;
|
||||
};
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
enable = true;
|
||||
autostart.enable = false;
|
||||
emulation.enable = true;
|
||||
laser.enable = true;
|
||||
|
||||
hyprland = {
|
||||
hardware.Lillie = true;
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
./autostart.nix
|
||||
./boot.nix
|
||||
./dev.nix
|
||||
./k40.nix
|
||||
./keyboard.nix
|
||||
./nfs-client.nix
|
||||
./nix-ld.nix
|
||||
|
|
12
modules/default/common/desktop/k40.nix
Normal file
12
modules/default/common/desktop/k40.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
lib.mkIf config.desktop.laser.enable {
|
||||
|
||||
services.udev.extraRules = ''
|
||||
SUBSYSTEM=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="5512", MODE:="0666"
|
||||
'';
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
k40-whisperer
|
||||
];
|
||||
|
||||
}
|
|
@ -1,6 +1,3 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.udev.extraRules = ''
|
||||
SUBSYSTEM=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="5512", MODE:="0666"
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -18,6 +18,11 @@
|
|||
type = lib.types.bool;
|
||||
};
|
||||
|
||||
laser.enable = lib.mkOption {
|
||||
default = false;
|
||||
type = lib.types.bool;
|
||||
};
|
||||
|
||||
windowManager = lib.mkOption {
|
||||
default = "Hyprland";
|
||||
type = lib.types.str;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue