mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
updated moms-laptop
This commit is contained in:
parent
afb948363e
commit
3a9755739b
3 changed files with 2 additions and 4 deletions
|
|
@ -1,26 +0,0 @@
|
|||
_: {
|
||||
pkgs,
|
||||
settings,
|
||||
...
|
||||
}: {
|
||||
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
|
||||
systemd.tmpfiles.rules = ["L /home/jo/.config/GIMP/2.10/plug-ins/xsane - - - - /run/current-system/sw/bin/xsane"];
|
||||
};
|
||||
services = {
|
||||
printing = {
|
||||
enable = true;
|
||||
drivers = [pkgs.hplipWithPlugin];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue