aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2023-06-17 21:37:09 +0100
committerFrankie B <git@diskfloppy.me>2023-06-17 21:37:09 +0100
commit537c26d726039b5cc2a58b3f5929e57b45353746 (patch)
treedbbf2b5a079859d7f2d22ad9d8ca514e87f04545
parent41964d55e70c1f5ee99f98284087d5af98c06a60 (diff)
Enable flatpak and printing drivers
-rw-r--r--hosts/nixbox/configuration.nix15
1 files changed, 12 insertions, 3 deletions
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 = [ ... ];