Enable network printing and scanning

This commit is contained in:
coolneng 2020-05-14 03:04:30 +02:00
parent b977babf29
commit 92d27c0020
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
3 changed files with 19 additions and 1 deletions

View File

@ -75,7 +75,7 @@
users.users.coolneng = { users.users.coolneng = {
isNormalUser = true; isNormalUser = true;
home = "/home/coolneng"; home = "/home/coolneng";
extraGroups = [ "wheel" "video" "audio" "libvirtd" ]; extraGroups = [ "wheel" "video" "audio" "libvirtd" "lp" ];
shell = pkgs.fish; shell = pkgs.fish;
}; };
@ -95,6 +95,7 @@
./modules/datasync.nix ./modules/datasync.nix
./modules/audio.nix ./modules/audio.nix
./modules/development.nix ./modules/development.nix
./modules/printing.nix
./modules/hardware-configuration.nix ./modules/hardware-configuration.nix
]; ];

15
modules/printing.nix Normal file
View File

@ -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
'';
};
}

View File

@ -39,10 +39,12 @@
# Audio # Audio
mopidy mopidy
ncmpcpp ncmpcpp
mpc_cli
# Productivity # Productivity
fff fff
zathura zathura
libreoffice libreoffice
gnome3.simple-scan
# Propietary # Propietary
skypeforlinux skypeforlinux
# Mail stack # Mail stack