Add tools for using digitizer
This commit is contained in:
parent
64c3ccad2a
commit
c61023b863
|
@ -27,4 +27,18 @@ lib.mkIf config.sbruder.gui.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
pkgs.gnome3.adwaita-icon-theme # lutris requires system-wide installation
|
pkgs.gnome3.adwaita-icon-theme # lutris requires system-wide installation
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.input-remapper = lib.mkIf config.sbruder.full {
|
||||||
|
enable = true;
|
||||||
|
serviceWantedBy = [ "multi-user.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
security.polkit.extraConfig = lib.optionalString config.sbruder.full ''
|
||||||
|
// Potential security problem, but required because there is no graphical polkit authentication agent
|
||||||
|
polkit.addRule((action, subject) => {
|
||||||
|
if (action.id == "org.freedesktop.policykit.exec" && action.lookup("program") == "${config.services.input-remapper.package}/bin/input-remapper-control" && subject.isInGroup("users")) {
|
||||||
|
return polkit.Result.YES;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -151,6 +151,7 @@ in
|
||||||
hunspellDicts.de-de
|
hunspellDicts.de-de
|
||||||
hunspellDicts.en-gb-ise # dictionary
|
hunspellDicts.en-gb-ise # dictionary
|
||||||
libreoffice # office suite
|
libreoffice # office suite
|
||||||
|
unstable.rnote # notebook
|
||||||
xournalpp # notebook
|
xournalpp # notebook
|
||||||
xsane # scanning tool
|
xsane # scanning tool
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue