better printing
This commit is contained in:
parent
2b660e73e9
commit
06adc96052
3 changed files with 23 additions and 1 deletions
1
cos.nix
1
cos.nix
|
|
@ -15,6 +15,7 @@
|
||||||
./cloudflared.nix
|
./cloudflared.nix
|
||||||
./umami.nix
|
./umami.nix
|
||||||
./bikeability2.nix
|
./bikeability2.nix
|
||||||
|
./printing.nix
|
||||||
"${inputs.home-manager}/nixos"
|
"${inputs.home-manager}/nixos"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@ let cfg = config.cos.hyprland; in
|
||||||
|
|
||||||
services.displayManager.sddm.enable = true;
|
services.displayManager.sddm.enable = true;
|
||||||
services.displayManager.sddm.wayland.enable = true;
|
services.displayManager.sddm.wayland.enable = true;
|
||||||
services.printing.enable = true;
|
|
||||||
services.pulseaudio.enable = false;
|
services.pulseaudio.enable = false;
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
22
printing.nix
Normal file
22
printing.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
{lib, config, pkgs, ...}:
|
||||||
|
{
|
||||||
|
config = lib.mkMerge [
|
||||||
|
(lib.mkIf (config.networking.hostName == "clhickey-nixos") {
|
||||||
|
services.printing = {
|
||||||
|
enable = true;
|
||||||
|
drivers = with pkgs; [
|
||||||
|
cups-filters
|
||||||
|
cups-browsed
|
||||||
|
epson-escpr2
|
||||||
|
epson-escpr
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.avahi = {
|
||||||
|
enable = true;
|
||||||
|
nssmdns4 = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue