feat: add default printer
This commit is contained in:
parent
7692303804
commit
1d39ff6d50
3 changed files with 10 additions and 7 deletions
|
|
@ -13,18 +13,17 @@
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
hardware.printers = {
|
hardware.printers = {
|
||||||
ensurePrinters = [
|
ensurePrinters = [
|
||||||
{
|
{
|
||||||
name = "Brother MFC-L3750CDW series";
|
name = "Brother-MFC-L3750CDW-series";
|
||||||
location = "Home";
|
location = "Home";
|
||||||
deviceUri = "ipp://BROTHER-ETH.local.:631/ipp/print";
|
deviceUri = "dnssd://Brother%20MFC-L3750CDW%20series._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-b4220094c09b";
|
||||||
model =
|
model = "brother_mfcl3750cdw_printer_en.ppd";
|
||||||
}
|
}
|
||||||
]
|
];
|
||||||
}
|
ensureDefaultPrinter = "Brother-MFC-L3750CDW-series";
|
||||||
*/
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; with config.bchmnn; lib.optionals (gui.enable) [
|
environment.systemPackages = with pkgs; with config.bchmnn; lib.optionals (gui.enable) [
|
||||||
system-config-printer
|
system-config-printer
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ in {
|
||||||
blueman # control bluetooth
|
blueman # control bluetooth
|
||||||
nextcloud-client # nextcloud client to connect to any instance
|
nextcloud-client # nextcloud client to connect to any instance
|
||||||
plasma5Packages.kdeconnect-kde # sync phone and pc
|
plasma5Packages.kdeconnect-kde # sync phone and pc
|
||||||
|
system-config-printer # printer manager
|
||||||
];
|
];
|
||||||
|
|
||||||
xsession.windowManager.i3 = {
|
xsession.windowManager.i3 = {
|
||||||
|
|
@ -39,6 +40,7 @@ in {
|
||||||
{ command = "${udiskie}/bin/udiskie --tray"; }
|
{ command = "${udiskie}/bin/udiskie --tray"; }
|
||||||
{ command = "${nextcloud-client}/bin/nextcloud"; }
|
{ command = "${nextcloud-client}/bin/nextcloud"; }
|
||||||
{ command = "${plasma5Packages.kdeconnect-kde}/bin/kdeconnect-indicator"; }
|
{ command = "${plasma5Packages.kdeconnect-kde}/bin/kdeconnect-indicator"; }
|
||||||
|
{ command = "${system-config-printer}/bin/system-config-printer-applet"; }
|
||||||
];
|
];
|
||||||
fonts = {
|
fonts = {
|
||||||
names = [ common.font ];
|
names = [ common.font ];
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,7 @@ in
|
||||||
kanshi # display manager
|
kanshi # display manager
|
||||||
nextcloud-client # self hosted cloud client
|
nextcloud-client # self hosted cloud client
|
||||||
plasma5Packages.kdeconnect-kde # sync phone and pc
|
plasma5Packages.kdeconnect-kde # sync phone and pc
|
||||||
|
system-config-printer # printer manager
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.swaylock = {
|
programs.swaylock = {
|
||||||
|
|
@ -85,6 +86,7 @@ in
|
||||||
{ command = "${swaynotificationcenter}/bin/swaync"; }
|
{ command = "${swaynotificationcenter}/bin/swaync"; }
|
||||||
{ command = "${nextcloud-client}/bin/nextcloud"; }
|
{ command = "${nextcloud-client}/bin/nextcloud"; }
|
||||||
{ command = "${plasma5Packages.kdeconnect-kde}/bin/kdeconnect-indicator"; }
|
{ command = "${plasma5Packages.kdeconnect-kde}/bin/kdeconnect-indicator"; }
|
||||||
|
{ command = "${system-config-printer}/bin/system-config-printer-applet"; }
|
||||||
];
|
];
|
||||||
input = {
|
input = {
|
||||||
"2:7:SynPS/2_Synaptics_TouchPad" = {
|
"2:7:SynPS/2_Synaptics_TouchPad" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue