chore: update flake lockfile

This commit is contained in:
2025-07-24 22:59:29 -07:00
parent d2ca9ded39
commit e1da9c2533
4 changed files with 38 additions and 30 deletions

30
nix/modules/printing.nix Normal file
View File

@@ -0,0 +1,30 @@
{
pkgs,
lib,
config,
...
}:
{
options.printing = {
enable = lib.mkEnableOption "enable printing";
};
config = lib.mkIf config.printing.enable {
services.printing = {
enable = true;
drivers = with pkgs; [
gutenprint
hplip
splix
samsung-unified-linux-driver
brlaser
];
};
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
};
}