From 1ad829ddc95ec3d9a471f5c7428e5e671b6186f6 Mon Sep 17 00:00:00 2001 From: Alex Stan <90788596+Ultra980@users.noreply.github.com> Date: Tue, 25 Apr 2023 21:02:17 +0300 Subject: [PATCH] printing & UPS Signed-off-by: Alex Stan --- ultrapc/configuration.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ultrapc/configuration.nix b/ultrapc/configuration.nix index 7f2436c..2b38c8c 100644 --- a/ultrapc/configuration.nix +++ b/ultrapc/configuration.nix @@ -55,8 +55,6 @@ in { LC_TIME = "ro_RO.utf8"; }; - # Enable CUPS to print documents. - services.printing.enable = true; # Enable sound with pipewire. sound.enable = true; @@ -207,6 +205,14 @@ in { layout = "ro"; xkbVariant = ""; }; + apcupsd = { + enable = true; + }; + + # Enable CUPS to print documents. + printing = { + enable = true; + }; }; nix.settings.experimental-features = [ "nix-command" "flakes" ];