feat: add default printer

This commit is contained in:
Jacob Bachmann 2024-01-08 17:43:53 +01:00
parent 7692303804
commit 1d39ff6d50
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
3 changed files with 10 additions and 7 deletions

View file

@ -13,18 +13,17 @@
openFirewall = true;
};
/*
hardware.printers = {
ensurePrinters = [
{
name = "Brother MFC-L3750CDW series";
name = "Brother-MFC-L3750CDW-series";
location = "Home";
deviceUri = "ipp://BROTHER-ETH.local.:631/ipp/print";
model =
deviceUri = "dnssd://Brother%20MFC-L3750CDW%20series._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-b4220094c09b";
model = "brother_mfcl3750cdw_printer_en.ppd";
}
]
}
*/
];
ensureDefaultPrinter = "Brother-MFC-L3750CDW-series";
};
environment.systemPackages = with pkgs; with config.bchmnn; lib.optionals (gui.enable) [
system-config-printer

View file

@ -24,6 +24,7 @@ in {
blueman # control bluetooth
nextcloud-client # nextcloud client to connect to any instance
plasma5Packages.kdeconnect-kde # sync phone and pc
system-config-printer # printer manager
];
xsession.windowManager.i3 = {
@ -39,6 +40,7 @@ in {
{ command = "${udiskie}/bin/udiskie --tray"; }
{ command = "${nextcloud-client}/bin/nextcloud"; }
{ command = "${plasma5Packages.kdeconnect-kde}/bin/kdeconnect-indicator"; }
{ command = "${system-config-printer}/bin/system-config-printer-applet"; }
];
fonts = {
names = [ common.font ];

View file

@ -29,6 +29,7 @@ in
kanshi # display manager
nextcloud-client # self hosted cloud client
plasma5Packages.kdeconnect-kde # sync phone and pc
system-config-printer # printer manager
];
programs.swaylock = {
@ -85,6 +86,7 @@ in
{ command = "${swaynotificationcenter}/bin/swaync"; }
{ command = "${nextcloud-client}/bin/nextcloud"; }
{ command = "${plasma5Packages.kdeconnect-kde}/bin/kdeconnect-indicator"; }
{ command = "${system-config-printer}/bin/system-config-printer-applet"; }
];
input = {
"2:7:SynPS/2_Synaptics_TouchPad" = {