From 0581f3301738b4bc3e214ab911b70b85f9d4c426 Mon Sep 17 00:00:00 2001 From: Pierre Martin Date: Sun, 12 Apr 2020 05:45:54 +0200 Subject: [PATCH] Covid made me setup my home printer back --- home.nix | 1 - nixos/configuration.nix | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/home.nix b/home.nix index e3e28c6..0ad3d55 100644 --- a/home.nix +++ b/home.nix @@ -33,7 +33,6 @@ network = "traefik" latest.openssl.dev latest.patchelf latest.postman - latest.cnijfilter_4_00 latest.pavucontrol diff --git a/nixos/configuration.nix b/nixos/configuration.nix index cf7cf3f..9dbc1e6 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -97,8 +97,9 @@ local-data: "test. 10800 IN A 172.10.0.10" networking.firewall.enable = false; # Enable CUPS to print documents. + nixpkgs.config.allowUnfree = true; services.printing.enable = true; - services.printing.drivers = [ pkgs.hplip ]; + services.printing.drivers = [ pkgs.hplip pkgs.gutenprint pkgs.cnijfilter_4_00 ]; # Enable sound. sound.enable = true;