Add printer option thank you Jerry!

This commit is contained in:
Tyler Kelley 2024-02-08 03:22:56 +00:00
commit 01bbdaeca2
3 changed files with 15 additions and 0 deletions

View File

@ -18,6 +18,7 @@
./nvidia.nix
./packages.nix
./polkit.nix
./printer.nix
./services.nix
./steam.nix
./vm.nix

13
config/system/printer.nix Normal file
View File

@ -0,0 +1,13 @@
{ config, lib, ... }:
let inherit (import ../../options.nix) printer; in
lib.mkIf (printer == true) {
services = {
printing.enable = true;
avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
};
}

View File

@ -31,6 +31,7 @@
nfsDevice = "nas:/volume1/nas";
localHWClock = false;
ntp = true;
printer = false;
flatpak = false;
kdenlive = true;
blender = true;