diff --git a/configuration.nix b/configuration.nix index 29c6645..7ab0471 100644 --- a/configuration.nix +++ b/configuration.nix @@ -75,7 +75,7 @@ users.users.coolneng = { isNormalUser = true; home = "/home/coolneng"; - extraGroups = [ "wheel" "video" "audio" "libvirtd" ]; + extraGroups = [ "wheel" "video" "audio" "libvirtd" "lp" ]; shell = pkgs.fish; }; @@ -95,6 +95,7 @@ ./modules/datasync.nix ./modules/audio.nix ./modules/development.nix + ./modules/printing.nix ./modules/hardware-configuration.nix ]; diff --git a/modules/printing.nix b/modules/printing.nix new file mode 100644 index 0000000..3db0ae5 --- /dev/null +++ b/modules/printing.nix @@ -0,0 +1,15 @@ +{ config, lib, pkgs, ... }: + +{ + # Enable CUPS + services.printing.enable = true; + + # Enable SANE + hardware.sane = { + enable = true; + netConf = '' + 192.168.1.2 + 10.8.0.1 + ''; + }; +} diff --git a/modules/software.nix b/modules/software.nix index 6e7c8d3..41b5000 100644 --- a/modules/software.nix +++ b/modules/software.nix @@ -39,10 +39,12 @@ # Audio mopidy ncmpcpp + mpc_cli # Productivity fff zathura libreoffice + gnome3.simple-scan # Propietary skypeforlinux # Mail stack