Main
This commit is contained in:
parent
fc0abdd4bb
commit
aca73cdd0f
73 changed files with 3873 additions and 381 deletions
|
|
@ -1,16 +1,27 @@
|
|||
# Printer GUI (scanning/printing tools)
|
||||
#
|
||||
# Provides:
|
||||
# - Configurable GUI package for printing/scanning via home.packages
|
||||
#
|
||||
# Notes:
|
||||
# - Default is `simple-scan` (GNOME Document Scanner)
|
||||
# - Can be overridden with another package such as `system-config-printer`
|
||||
#
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.nyx-module.home.printer-scan;
|
||||
cfg = config.nyx-module.home.printer;
|
||||
in
|
||||
{
|
||||
options.nyx-module.home.printer-scan = {
|
||||
enable = lib.mkEnableOption "Enable printer-scan (home) module";
|
||||
options.nyx-module.home.printer = {
|
||||
enable = lib.mkEnableOption "Enable printer GUI (home module)";
|
||||
|
||||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
default = pkgs.printer-scan;
|
||||
description = "Package to install for printer-scan.";
|
||||
default = pkgs.simple-scan;
|
||||
example = pkgs.system-config-printer;
|
||||
description = "Printer/scanner GUI package to install.";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue