feat(polymita-picta): adjustments for the steam deck

This commit is contained in:
Malte Tammena 2023-10-26 20:12:24 +02:00
parent d58287e2b0
commit e8057d4d4c
2 changed files with 18 additions and 1 deletions

View file

@ -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;

View file

@ -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
'';