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

View File

@@ -16,5 +16,6 @@
./desktop.nix
./zed-editor.nix
./virtualization.nix
./printing.nix
];
}

View File

@@ -54,6 +54,7 @@
services.upower.enable = true;
zed.enable = true;
virt.enable = true;
printing.enable = true;
xdg.portal = {
enable = true;
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];

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