From e8057d4d4c134d0a5facad476f15e58c310dd91f Mon Sep 17 00:00:00 2001 From: Malte Tammena Date: Thu, 26 Oct 2023 20:12:24 +0200 Subject: [PATCH] feat(polymita-picta): adjustments for the steam deck --- hosts/polymita-picta.nix | 17 ++++++++++++++++- pkgs/boilr.nix | 2 ++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/hosts/polymita-picta.nix b/hosts/polymita-picta.nix index 5dc555e..eaaf1cc 100644 --- a/hosts/polymita-picta.nix +++ b/hosts/polymita-picta.nix @@ -28,6 +28,16 @@ }; }; + # Use some fonts + fonts = { + enableDefaultPackages = true; + packages = with pkgs; [hackNerdLigatures noto-fonts noto-fonts-cjk joypixels]; + fontconfig = { + enable = true; + defaultFonts.monospace = ["Hack NF FC Ligatured"]; + }; + }; + services.openssh = { enable = true; settings.PasswordAuthentication = false; @@ -45,6 +55,7 @@ environment.systemPackages = with pkgs; [ steam-rom-manager (pkgs.callPackage ../pkgs/boilr.nix {}) + electron ]; security.sudo.extraRules = [ @@ -59,7 +70,11 @@ } ]; - programs.steam.enable = true; + programs.steam = { + enable = true; + package = pkgs.steam; + remotePlay.openFirewall = true; + }; jovian.devices.steamdeck.enable = true; jovian.steam.enable = true; jovian.steam.autoStart = true; diff --git a/pkgs/boilr.nix b/pkgs/boilr.nix index 8f8c266..8c506ec 100644 --- a/pkgs/boilr.nix +++ b/pkgs/boilr.nix @@ -54,6 +54,8 @@ in buildInputs = rpathLibs; postInstall = '' + mkdir -p $out/share/applications + cp flatpak/io.github.philipk.boilr.desktop $out/share/applications/ patchelf --add-rpath "${lib.makeLibraryPath rpathLibs}" $out/bin/boilr '';