diff --git a/.vscode/settings.json b/.vscode/settings.json index 8359b83..c09b8fa 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -82,6 +82,7 @@ "globalprivacycontrol", "gparted", "gtts", + "gutenprint", "hass", "healthreport", "Heatsink", @@ -91,6 +92,7 @@ "hmac", "homeassistant", "HPKP", + "hplip", "htmlaboutaddons", "hurlenko", "hwloc", diff --git a/common/optional/printing.nix b/common/optional/printing.nix new file mode 100644 index 0000000..cfd3146 --- /dev/null +++ b/common/optional/printing.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: +{ + services.printing = { + enable = true; + drivers = with pkgs; [ gutenprint hplip ]; + }; +} diff --git a/systems/bob/default.nix b/systems/bob/default.nix index c556570..71b93a7 100644 --- a/systems/bob/default.nix +++ b/systems/bob/default.nix @@ -36,8 +36,6 @@ openssh.ports = [ 262 ]; - printing.enable = true; - snapshot_manager.enable = true; zfs = { diff --git a/systems/muninn/default.nix b/systems/muninn/default.nix index 5ade601..28c1057 100644 --- a/systems/muninn/default.nix +++ b/systems/muninn/default.nix @@ -47,8 +47,6 @@ openssh.ports = [ 295 ]; - printing.enable = true; - snapshot_manager.enable = true; zfs = { diff --git a/systems/rhapsody-in-green/default.nix b/systems/rhapsody-in-green/default.nix index 551779b..e62b11d 100644 --- a/systems/rhapsody-in-green/default.nix +++ b/systems/rhapsody-in-green/default.nix @@ -36,8 +36,6 @@ openssh.ports = [ 922 ]; - printing.enable = true; - snapshot_manager.enable = true; zfs = {