feat: printing
This commit is contained in:
parent
533a4879e6
commit
dcdc9be96c
|
@ -21,6 +21,7 @@
|
||||||
../../modules/hardware/zfs.nix
|
../../modules/hardware/zfs.nix
|
||||||
|
|
||||||
../../modules/optional/streamdeck.nix
|
../../modules/optional/streamdeck.nix
|
||||||
|
../../modules/optional/printing.nix
|
||||||
|
|
||||||
./net.nix
|
./net.nix
|
||||||
./fs.nix
|
./fs.nix
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
../../modules/optional/wayland.nix
|
../../modules/optional/wayland.nix
|
||||||
../../modules/optional/secureboot.nix
|
../../modules/optional/secureboot.nix
|
||||||
|
../../modules/optional/printing.nix
|
||||||
|
|
||||||
../../modules/hardware/bluetooth.nix
|
../../modules/hardware/bluetooth.nix
|
||||||
../../modules/hardware/laptop.nix
|
../../modules/hardware/laptop.nix
|
||||||
|
|
6
modules/optional/printing.nix
Normal file
6
modules/optional/printing.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
services.printing = {
|
||||||
|
enable = true;
|
||||||
|
drivers = [pkgs.hplipWithPlugin];
|
||||||
|
};
|
||||||
|
}
|
|
@ -37,18 +37,18 @@ let
|
||||||
];
|
];
|
||||||
|
|
||||||
assigns = {
|
assigns = {
|
||||||
"d" = [
|
"2:d" = [
|
||||||
{class = "^firefox$";}
|
{class = "^firefox$";}
|
||||||
];
|
];
|
||||||
"a" = [
|
"4:a" = [
|
||||||
{class = "^bottles$";}
|
{class = "^bottles$";}
|
||||||
{class = "^steam$";}
|
{class = "^steam$";}
|
||||||
{class = "^prismlauncher$";}
|
{class = "^prismlauncher$";}
|
||||||
];
|
];
|
||||||
"F1" = [
|
"1:F1" = [
|
||||||
{class = "^Discord$";}
|
{class = "^Discord$";}
|
||||||
];
|
];
|
||||||
"F2" = [
|
"2:F2" = [
|
||||||
{class = "^Signal$";}
|
{class = "^Signal$";}
|
||||||
{class = "^TelegramDesktop$";}
|
{class = "^TelegramDesktop$";}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue