feat: many changes
This commit is contained in:
parent
7f01dc4cac
commit
3990566fe5
21 changed files with 363 additions and 170 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue