feat: printing

This commit is contained in:
Patrick 2023-10-04 14:43:06 +02:00
parent 533a4879e6
commit dcdc9be96c
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
4 changed files with 12 additions and 4 deletions

View file

@ -21,6 +21,7 @@
../../modules/hardware/zfs.nix
../../modules/optional/streamdeck.nix
../../modules/optional/printing.nix
./net.nix
./fs.nix

View file

@ -11,6 +11,7 @@
../../modules/optional/wayland.nix
../../modules/optional/secureboot.nix
../../modules/optional/printing.nix
../../modules/hardware/bluetooth.nix
../../modules/hardware/laptop.nix

View file

@ -0,0 +1,6 @@
{pkgs, ...}: {
services.printing = {
enable = true;
drivers = [pkgs.hplipWithPlugin];
};
}

View file

@ -37,18 +37,18 @@ let
];
assigns = {
"d" = [
"2:d" = [
{class = "^firefox$";}
];
"a" = [
"4:a" = [
{class = "^bottles$";}
{class = "^steam$";}
{class = "^prismlauncher$";}
];
"F1" = [
"1:F1" = [
{class = "^Discord$";}
];
"F2" = [
"2:F2" = [
{class = "^Signal$";}
{class = "^TelegramDesktop$";}
];