use enable option
This commit is contained in:
parent
222368696b
commit
e520257894
@ -10,7 +10,7 @@ in {
|
||||
enable = lib.mkEnableOption "printing";
|
||||
};
|
||||
|
||||
config = {
|
||||
config = lib.mkIf cfg.enable {
|
||||
# Enable CUPS to print documents.
|
||||
services.printing = {
|
||||
enable = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user