mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
module moving mostly done
This commit is contained in:
parent
a9de747c25
commit
e78a971b9b
33 changed files with 455 additions and 447 deletions
21
systems/mom-laptop/printing.nix
Normal file
21
systems/mom-laptop/printing.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
_: {pkgs, ...}: {
|
||||
nixpkgs.allowedUnfree = ["hplip"];
|
||||
environment.systemPackages = [
|
||||
pkgs.gimp
|
||||
(pkgs.xsane.override {gimpSupport = true;})
|
||||
pkgs.libreoffice
|
||||
];
|
||||
users.users."${settings.username}".extraGroups = ["scanner" "lp" "cups"];
|
||||
hardware.sane = {
|
||||
enable = true;
|
||||
extraBackends = [pkgs.hplipWithPlugin];
|
||||
#run this to setup gimp plugin
|
||||
#ln -s /run/current-system/sw/bin/xsane ~/.config/GIMP/2.10/plug-ins/xsane
|
||||
};
|
||||
services = {
|
||||
printing = {
|
||||
enable = true;
|
||||
drivers = [pkgs.hplipWithPlugin];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue