mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-02-03 10:09:13 +01:00
Add printer option thank you Jerry!
This commit is contained in:
commit
01bbdaeca2
@ -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
13
config/system/printer.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
@ -31,6 +31,7 @@
|
||||
nfsDevice = "nas:/volume1/nas";
|
||||
localHWClock = false;
|
||||
ntp = true;
|
||||
printer = false;
|
||||
flatpak = false;
|
||||
kdenlive = true;
|
||||
blender = true;
|
||||
|
Loading…
Reference in New Issue
Block a user