treewide reformat

This commit is contained in:
Gerg-L 2023-09-23 21:55:56 -04:00
parent de7683556e
commit fc21bf9436
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
42 changed files with 1012 additions and 876 deletions

View file

@ -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;