From 2c9c5e4c3275aca5328581d6709d7d6ca66cb004 Mon Sep 17 00:00:00 2001 From: foglar Date: Thu, 14 Nov 2024 21:00:36 +0100 Subject: [PATCH] printing --- nixos/configuration.nix | 7 ++++++- nixos/packages/games.nix | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index d4df8fc..b5a432e 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -81,6 +81,11 @@ ]; ensureDefaultPrinter = "HP_psc_1200_series"; }; + #Printing + hardware.sane.enable = true; + services.ipp-usb.enable=true; + hardware.sane.extraBackends = [ pkgs.hplipWithPlugin ]; + # Set your time zone. time.timeZone = "Europe/Prague"; @@ -254,7 +259,7 @@ users.users.foglar = { isNormalUser = true; description = "foglar"; - extraGroups = ["networkmanager" "wheel"]; + extraGroups = ["networkmanager" "wheel" "lp" "scanner"]; packages = with pkgs; [ # thunderbird ]; diff --git a/nixos/packages/games.nix b/nixos/packages/games.nix index b093103..e60a019 100644 --- a/nixos/packages/games.nix +++ b/nixos/packages/games.nix @@ -13,6 +13,7 @@ vitetris steam heroic + gamescope wine (writeShellScriptBin "nvidia-offload" ''