Compare commits
No commits in common. "92bfadfea7656728f4c465262a6194f5a5b94383" and "653938a61f2360a490166291cc113673904cb065" have entirely different histories.
92bfadfea7
...
653938a61f
4 changed files with 1 additions and 49 deletions
|
@ -14,6 +14,7 @@
|
|||
services = {
|
||||
fstrim.enable = lib.mkDefault true;
|
||||
thermald.enable = true;
|
||||
printing.enable = true;
|
||||
};
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
|
@ -65,7 +66,6 @@
|
|||
kanata.enable = true;
|
||||
uwsm.enable = false;
|
||||
greetd.enable = false;
|
||||
cups.enable = true;
|
||||
|
||||
media.mpd = {
|
||||
enable = true;
|
||||
|
|
|
@ -70,7 +70,6 @@
|
|||
thunderbird
|
||||
trash-cli
|
||||
typst
|
||||
ungoogled-chromium
|
||||
util-linux
|
||||
v4l-utils
|
||||
vlc
|
||||
|
|
|
@ -22,11 +22,6 @@ in {
|
|||
devices = ["/dev/input/by-path/platform-i8042-serio-0-event-kbd"];
|
||||
config = builtins.readFile (./. + "/main.kbd");
|
||||
};
|
||||
|
||||
keyboards.dell-keyboard = {
|
||||
devices = ["/dev/input/by-path/usb-Dell_Dell_USB_Keyboard-event-kbd "];
|
||||
config = builtins.readFile (./. + "/main.kbd");
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.options) mkEnableOption;
|
||||
in {
|
||||
options.modules.services.cups.enable = mkEnableOption "CUPS, the Common UNIX printing system";
|
||||
|
||||
config = {
|
||||
services = {
|
||||
# enable CUPS, the Common UNIX printing system.
|
||||
printing = {
|
||||
enable = true;
|
||||
|
||||
# Move CUPSd's temporary directory.
|
||||
# By default, it resides in /tmp.
|
||||
tempDir = "/tmp/cups";
|
||||
|
||||
# Do not advertise shared printers.
|
||||
browsing = false;
|
||||
|
||||
# Enable the CUPS webinterface, accessible at localhost:631.
|
||||
webInterface = true;
|
||||
|
||||
# Some local or network printers might need additional drivers.
|
||||
# These can be added into here.
|
||||
drivers = [
|
||||
pkgs.cups-kyocera-ecosys-m552x-p502x
|
||||
];
|
||||
};
|
||||
|
||||
# Add and autodiscover printers on the network via the IPP everywhere[1] protocol.
|
||||
# [1] https://www.pwg.org/ipp/everywhere.html
|
||||
avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue