set up printing
This commit is contained in:
parent
491addc74c
commit
e8ef6c4388
3 changed files with 16 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
./audio.nix
|
||||
./tailscale.nix
|
||||
./bluetooth.nix
|
||||
./printing.nix
|
||||
];
|
||||
|
||||
# use nix version 2.22
|
||||
|
|
10
nixos/common/printing.nix
Normal file
10
nixos/common/printing.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.printing.enable = true;
|
||||
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
}
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue