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" ''