add wacom support

This commit is contained in:
MFlossmann 2024-05-11 12:39:05 +02:00
parent c2b8875fe0
commit 94f08a3847
4 changed files with 16 additions and 13 deletions

View file

@ -19,6 +19,7 @@
outputs = {...} @ inputs: let outputs = {...} @ inputs: let
# basic boilerplate-reducing lib with a bunch of functions # basic boilerplate-reducing lib with a bunch of functions
helperLib = import ./helperLib/default.nix {inherit inputs;}; helperLib = import ./helperLib/default.nix {inherit inputs;};
stablepkgs = inputs.nixpkgs-stable;
in in
with helperLib; { with helperLib; {
nixosConfigurations = { nixosConfigurations = {

View file

@ -17,8 +17,6 @@
enable = true; enable = true;
}; };
xserver.wacom.enable = true;
# TODO: fill this out (and move it in a service, probably) # TODO: fill this out (and move it in a service, probably)
# services.syncthing = { # services.syncthing = {
# enable = true # enable = true

View file

@ -3,12 +3,13 @@
config, config,
lib, lib,
inputs, inputs,
stablepkgs,
... ...
}: { }: {
imports = []; imports = [];
home.packages = with pkgs; [ home.packages = with pkgs; [
inkscape stablepkgs.inkscape
gimp gimp
krita krita
]; ];

View file

@ -7,22 +7,25 @@
"kernel.sysrq" = 502; # enables "REISUB" "kernel.sysrq" = 502; # enables "REISUB"
}; };
services.xserver.xkb = lib.mkDefault { console.keyMap = lib.mkDefault "neo";
services.xserver = {
xkb = lib.mkDefault {
layout = "de"; layout = "de";
variant = "neo"; variant = "neo";
}; };
console.keyMap = lib.mkDefault "neo"; enable = true;
displayManager.sddm.enable = lib.mkDefault true;
services.xserver.enable = true; # For touchscreen/pad support (supposedly)
services.xserver.displayManager.sddm.enable = lib.mkDefault true; libinput.enable = true;
wacom.enable = true;
};
services.desktopManager.plasma6.enable = lib.mkDefault true; services.desktopManager.plasma6.enable = lib.mkDefault true;
services.printing.enable = true; services.printing.enable = true;
# For touchscreen/pad support (supposedly)
services.xserver.libinput.enable = true;
# sound # sound
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;