set up printing

This commit is contained in:
insects 2024-08-24 14:25:45 +02:00
parent 491addc74c
commit e8ef6c4388
3 changed files with 16 additions and 1 deletions

View file

@ -4,6 +4,7 @@
./audio.nix
./tailscale.nix
./bluetooth.nix
./printing.nix
];
# use nix version 2.22

10
nixos/common/printing.nix Normal file
View file

@ -0,0 +1,10 @@
{ ... }:
{
services.printing.enable = true;
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
}

View file

@ -1,6 +1,10 @@
{ ... }:
{ pkgs, ... }:
{
services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true;
services.desktopManager.plasma6.enable = true;
environment.systemPackages = with pkgs; [
system-config-printer
];
}