mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-02-09 04:59:22 +01:00
Add printer option thank you Jerry!
This commit is contained in:
commit
01bbdaeca2
@ -18,6 +18,7 @@
|
|||||||
./nvidia.nix
|
./nvidia.nix
|
||||||
./packages.nix
|
./packages.nix
|
||||||
./polkit.nix
|
./polkit.nix
|
||||||
|
./printer.nix
|
||||||
./services.nix
|
./services.nix
|
||||||
./steam.nix
|
./steam.nix
|
||||||
./vm.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";
|
nfsDevice = "nas:/volume1/nas";
|
||||||
localHWClock = false;
|
localHWClock = false;
|
||||||
ntp = true;
|
ntp = true;
|
||||||
|
printer = false;
|
||||||
flatpak = false;
|
flatpak = false;
|
||||||
kdenlive = true;
|
kdenlive = true;
|
||||||
blender = true;
|
blender = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user