First commit

This commit is contained in:
2025-07-22 02:30:15 +02:00
commit e9441f563b
66 changed files with 4401 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
{
lib,
pkgs,
...
}@attrs:
let
hostname = "${attrs.hostname}";
in
{
config = lib.mkIf (hostname == "home-nix") {
hardware.sane.enable = true;
services.ipp-usb.enable = true;
hardware.sane.extraBackends = [
pkgs.hplipWithPlugin
];
users.users.${attrs.username}.extraGroups = [
"scanner"
"lp"
];
environment.systemPackages = [
pkgs.xsane
pkgs.simple-scan
pkgs.cups
pkgs.hplip
];
};
}