feat: many changes
This commit is contained in:
@@ -1,5 +1,22 @@
|
||||
{ lib, pkgs, ... }:
|
||||
let
|
||||
printerFix = pkgs.writeShellApplication {
|
||||
name = "printer-fix";
|
||||
runtimeInputs = [ pkgs.cups ];
|
||||
text = ''
|
||||
lpadmin -p 'Cloonar' -E \
|
||||
-v 'ipp://brn30055c566237.cloonar.multimedia/ipp/print' \
|
||||
-m 'everywhere'
|
||||
|
||||
lpadmin -d 'epicenter.works'
|
||||
'';
|
||||
};
|
||||
|
||||
printerFixDesktopItem = pkgs.makeDesktopItem {
|
||||
name = "printer-fix";
|
||||
desktopName = "Printer Fix";
|
||||
exec = "printer-fix";
|
||||
};
|
||||
in {
|
||||
services.printing.enable = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user