From 537c26d726039b5cc2a58b3f5929e57b45353746 Mon Sep 17 00:00:00 2001
From: Frankie B <git@diskfloppy.me>
Date: Sat, 17 Jun 2023 21:37:09 +0100
Subject: Enable flatpak and printing drivers

---
 hosts/nixbox/configuration.nix | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

(limited to 'hosts/nixbox')

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