setup cups

This commit is contained in:
Leon Vatthauer 2024-05-13 08:43:36 +02:00
parent e178582553
commit b71ddcf501
Signed by: leonv
SSH key fingerprint: SHA256:G4+ddwoZmhLPRB1agvXzZMXIzkVJ36dUYZXf5NxT+u8
2 changed files with 15 additions and 2 deletions

View file

@ -77,10 +77,20 @@
enable = true; enable = true;
nssmdns4 = true; nssmdns4 = true;
openFirewall = true; openFirewall = true;
publish.enable = true;
publish.userServices = true;
}; };
services.printing = { services.printing = {
enable = true; enable = true;
drivers = [ pkgs.splix ]; drivers = [ pkgs.splix ];
browsing = true;
listenAddresses = [ "*:631" ];
allowFrom = [ "all" ];
defaultShared = true;
extraConf = ''
BrowseLocalProtocols all
'';
openFirewall = true;
}; };
# bluetooth # bluetooth
@ -137,6 +147,8 @@
# deps for hyprland / eww # deps for hyprland / eww
socat socat
texliveFull
]; ];
system.stateVersion = "24.05"; system.stateVersion = "24.05";
@ -169,7 +181,8 @@
# "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" # "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
# ]; # ];
nix.settings.substituters = [ nix.settings.substituters = [
"https://aseipp-nix-cache.global.ssl.fastly.net" "https://aseipp-nix-cache.freetls.fastly.net"
# "https://aseipp-nix-cache.global.ssl.fastly.net"
# "https://cache.iog.io" # "https://cache.iog.io"
]; ];

View file

@ -39,7 +39,7 @@
# development # development
jetbrains.idea-ultimate jetbrains.idea-ultimate
gnumake gnumake
texliveFull # texliveFull
# texlive.combined.scheme-full # texlive.combined.scheme-full
# ltex-ls # ltex-ls
ghostscript ghostscript