Add nix-flatpak flake, setup cups.

This commit is contained in:
jay
2025-06-29 07:54:39 -04:00
parent 6d72104640
commit f883e044ab
4 changed files with 26 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
{ pkgs, ...}: {
# Enable CUPS to print documents.
services.printing = {
enable = true;
drivers = [ pkgs.cnijfilter2 ];
};
# Automatic discovery of printers.
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
}

View File

@@ -0,0 +1,6 @@
{ pkgs, ...}: {
services.flatpak = {
enable = true;
update.onActivation = true;
};
}