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;
nssmdns4 = true;
openFirewall = true;
publish.enable = true;
publish.userServices = true;
};
services.printing = {
enable = true;
drivers = [ pkgs.splix ];
browsing = true;
listenAddresses = [ "*:631" ];
allowFrom = [ "all" ];
defaultShared = true;
extraConf = ''
BrowseLocalProtocols all
'';
openFirewall = true;
};
# bluetooth
@ -137,6 +147,8 @@
# deps for hyprland / eww
socat
texliveFull
];
system.stateVersion = "24.05";
@ -169,7 +181,8 @@
# "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
# ];
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"
];

View file

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