Enable flatpak and printing drivers

This commit is contained in:
floppydiskette 2023-06-17 21:37:09 +01:00
parent 41964d55e7
commit 537c26d726
No known key found for this signature in database

View file

@ -47,6 +47,9 @@
# Enable the X11 windowing system. # Enable the X11 windowing system.
services.xserver.enable = true; services.xserver.enable = true;
# Enable the flatpak service
services.flatpak.enable = true;
# Enable SDDM and set second display resolution/position # Enable SDDM and set second display resolution/position
services.xserver.displayManager = { services.xserver.displayManager = {
sddm.enable = true; sddm.enable = true;
@ -65,9 +68,6 @@
# Enable experimental features # Enable experimental features
nix.settings.extra-experimental-features = ["flakes" "nix-command"]; nix.settings.extra-experimental-features = ["flakes" "nix-command"];
# Enable CUPS to print documents.
services.printing.enable = true;
# Enable sound with pipewire. # Enable sound with pipewire.
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
@ -129,6 +129,11 @@
prismlauncher prismlauncher
maven maven
nvtop nvtop
pavucontrol
paprefs
pulseaudioFull
screen
linuxKernel.packages.linux_zen.v4l2loopback
]; ];
programs.fish.enable = true; programs.fish.enable = true;
@ -146,6 +151,10 @@
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh.enable = true;
# Enable printing
services.printing.enable = true;
services.printing.drivers = [pkgs.hplipWithPlugin];
# Open ports in the firewall. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];