feat: install cups and avahi on alice

This commit is contained in:
buffet 2024-02-25 20:07:16 +01:00
parent 1da027f0b8
commit e918f769d1
2 changed files with 17 additions and 0 deletions

View file

@ -18,6 +18,7 @@
./gpg.nix
./keyd.nix
./pipewire.nix
./printer.nix
./sway.nix
./tlp.nix

16
hosts/alice/printer.nix Normal file
View file

@ -0,0 +1,16 @@
{pkgs, ...}: {
services = {
printing = {
enable = true;
drivers = with pkgs; [
hplip
];
};
avahi = {
enable = true;
nssmdns = true;
openFirewall = true;
};
};
}