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 = {
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
];

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
mopidy
ncmpcpp
mpc_cli
# Productivity
fff
zathura
libreoffice
gnome3.simple-scan
# Propietary
skypeforlinux
# Mail stack