Compare commits

..

2 commits

Author SHA1 Message Date
b7d9ef4800 hosts: nixos: aramis: hardware: enable graphics
All checks were successful
ci/woodpecker/push/check Pipeline was successful
2024-02-04 14:44:54 +00:00
fe1a1d3fb2 nixos: hardware: add graphics 2024-02-04 14:44:54 +00:00
3 changed files with 5 additions and 6 deletions

View file

@ -7,9 +7,9 @@
./ergodox
./firmware
./graphics
./mx-ergo
./networking
./sound
./trackball
./upower
];
}

View file

@ -1,11 +1,11 @@
# Hold down the `next page` button to scroll using the ball
{ config, lib, ... }:
let
cfg = config.my.hardware.trackball;
cfg = config.my.hardware.mx-ergo;
in
{
options.my.hardware.trackball = with lib; {
enable = mkEnableOption "trackball configuration";
options.my.hardware.mx-ergo = with lib; {
enable = mkEnableOption "MX Ergo configuration";
};
config = lib.mkIf cfg.enable {
@ -13,7 +13,6 @@ in
# This section must be *after* the one configured by `libinput`
# for the `ScrollMethod` configuration to not be overriden
inputClassSections = lib.mkAfter [
# MX Ergo
''
Identifier "MX Ergo scroll button configuration"
MatchProduct "MX Ergo"

View file

@ -11,7 +11,7 @@ in
my.hardware = {
ergodox.enable = true;
trackball.enable = true;
mx-ergo.enable = true;
};
# MTP devices auto-mount via file explorers