mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
treewide reformat
This commit is contained in:
parent
de7683556e
commit
fc21bf9436
42 changed files with 1012 additions and 876 deletions
|
|
@ -1,23 +1,31 @@
|
|||
_: {pkgs, ...}: let
|
||||
xsane =
|
||||
pkgs.xsane.override {gimpSupport = true;};
|
||||
in {
|
||||
local.allowedUnfree = ["hplip"];
|
||||
_:
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
xsane = pkgs.xsane.override { gimpSupport = true; };
|
||||
in
|
||||
{
|
||||
local.allowedUnfree = [ "hplip" ];
|
||||
environment.systemPackages = [
|
||||
xsane
|
||||
pkgs.gimp
|
||||
pkgs.libreoffice
|
||||
];
|
||||
users.users.jo.extraGroups = ["scanner" "lp" "cups"];
|
||||
users.users.jo.extraGroups = [
|
||||
"scanner"
|
||||
"lp"
|
||||
"cups"
|
||||
];
|
||||
hardware.sane = {
|
||||
enable = true;
|
||||
extraBackends = [pkgs.hplipWithPlugin];
|
||||
extraBackends = [ pkgs.hplipWithPlugin ];
|
||||
};
|
||||
systemd.user.tmpfiles.users.jo.rules = ["L %h/.config/GIMP/2.10/plug-ins/xsane - - - - ${xsane}"];
|
||||
systemd.user.tmpfiles.users.jo.rules = [
|
||||
"L %h/.config/GIMP/2.10/plug-ins/xsane - - - - ${xsane}"
|
||||
];
|
||||
services = {
|
||||
printing = {
|
||||
enable = true;
|
||||
drivers = [pkgs.hplipWithPlugin];
|
||||
drivers = [ pkgs.hplipWithPlugin ];
|
||||
};
|
||||
};
|
||||
_file = ./printing.nix;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue