chore: update flakes

This commit is contained in:
2025-08-15 21:33:22 +02:00
parent 71623b5964
commit 84ab691a7f
38 changed files with 93 additions and 119 deletions

View File

@@ -5,9 +5,9 @@
...
}:
with lib; let
cfg = config.system.hardware.amdgpu;
cfg = config.mySystem.hardware.amdgpu;
in {
options.system.hardware.amdgpu.enable = mkEnableOption "Enables an AMD GPU configuration";
options.mySystem.hardware.amdgpu.enable = mkEnableOption "Enables an AMD GPU configuration";
config = mkIf cfg.enable {
systemd.tmpfiles.rules = [
"L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"

View File

@@ -4,9 +4,9 @@
...
}:
with lib; let
cfg = config.system.hardware.bluetooth;
cfg = config.mySystem.hardware.bluetooth;
in {
options.system.hardware.bluetooth.enable = mkEnableOption "Enable bluetooth";
options.mySystem.hardware.bluetooth.enable = mkEnableOption "Enable bluetooth";
config = mkIf cfg.enable {
hardware.bluetooth.enable = cfg.enable;
services.blueman.enable = cfg.enable;

View File

@@ -4,9 +4,9 @@
...
}:
with lib; let
cfg = config.system.hardware.corne;
cfg = config.mySystem.hardware.corne;
in {
options.system.hardware.corne.allowHidAccess = mkEnableOption "Enable HID access to the corne keyboard";
options.mySystem.hardware.corne.allowHidAccess = mkEnableOption "Enable HID access to the corne keyboard";
config.services.udev = mkIf cfg.allowHidAccess {
extraRules = ''
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{serial}=="*vial:f64c2b3c*", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl"

View File

@@ -4,9 +4,9 @@
...
}:
with lib; let
cfg = config.system.hardware.ibmTrackpoint;
cfg = config.mySystem.hardware.ibmTrackpoint;
in {
options.system.hardware.ibmTrackpoint.disable = mkEnableOption "Disable IBMs trackpoint on ThinkPad";
options.mySystem.hardware.ibmTrackpoint.disable = mkEnableOption "Disable IBMs trackpoint on ThinkPad";
config.services.udev = mkIf cfg.disable {
extraRules = ''
ATTRS{name}=="*TPPS/2 IBM TrackPoint", ENV{ID_INPUT}="", ENV{ID_INPUT_MOUSE}="", ENV{ID_INPUT_POINTINGSTICK}=""

View File

@@ -4,9 +4,9 @@
...
}:
with lib; let
cfg = config.system.hardware.opentablet;
cfg = config.mySystem.hardware.opentablet;
in {
options.system.hardware.opentablet.enable = mkEnableOption "Enables OpenTablet drivers";
options.mySystem.hardware.opentablet.enable = mkEnableOption "Enables OpenTablet drivers";
config.hardware.opentabletdriver = mkIf cfg.enable {
inherit (cfg) enable;
daemon.enable = true;

View File

@@ -5,9 +5,9 @@
...
}:
with lib; let
cfg = config.system.hardware.sound;
cfg = config.mySystem.hardware.sound;
in {
options.system.hardware.sound = {
options.mySystem.hardware.sound = {
enable = mkEnableOption "Whether to enable sounds with Pipewire";
scarlett.enable = mkEnableOption "Activate support for Scarlett sound card";
alsa = mkOption {