From 4b2485ff5f57698893dafd83a7581f1433f9186f Mon Sep 17 00:00:00 2001 From: Alex Davies Date: Sat, 11 May 2024 14:11:07 -0300 Subject: [PATCH] Added flatpak support --- nixos/gaming.nix | 13 +++++++++++++ nixos/kde-desktop.nix | 5 +++++ 2 files changed, 18 insertions(+) create mode 100644 nixos/gaming.nix diff --git a/nixos/gaming.nix b/nixos/gaming.nix new file mode 100644 index 0000000..31e6d95 --- /dev/null +++ b/nixos/gaming.nix @@ -0,0 +1,13 @@ +{ config, pkgs, lib, ... }: + +{ + + programs.steam = { + enable = true; + remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play + }; + + environment.systemPackages = with pkgs; [ + ]; +} + diff --git a/nixos/kde-desktop.nix b/nixos/kde-desktop.nix index 7a9e52d..f2ef9ab 100644 --- a/nixos/kde-desktop.nix +++ b/nixos/kde-desktop.nix @@ -8,6 +8,10 @@ services.displayManager.sddm.wayland.enable = true; services.displayManager.defaultSession = "plasma"; + services.flatpak.enable = true; + services.packagekit.enable = true; + services.fwupd.enable = true; + boot.plymouth = { enable = false; themePackages = with pkgs; [ (adi1090x-plymouth-themes.override {selected_themes = [ "rings" ]; }) ]; @@ -22,6 +26,7 @@ environment.systemPackages = with pkgs; [ pkgs.krfb pkgs.krdc + pkgs.discover pkgs.libreoffice-qt pkgs.filelight pkgs.hunspell