Enable network printing and scanning
This commit is contained in:
parent
b977babf29
commit
92d27c0020
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue