Add printer & Samba deps

This commit is contained in:
Laurent Gueret
2026-01-30 13:31:32 +01:00
parent 4fe8f13b71
commit aaa3476ffb
5 changed files with 69 additions and 4 deletions
@@ -0,0 +1,26 @@
{
pkgs,
lib,
config,
...
}:
with lib;
let
cfg = config.os.networks.printing;
in
{
options.os.networks.printing = {
enable = mkEnableOption "System printing service";
};
config = mkIf cfg.enable {
services.printing = {
enable = true;
drivers = with pkgs; [
cups-filters
cups-browsed
];
};
};
}