90 lines
1.9 KiB
Nix
90 lines
1.9 KiB
Nix
{ config, pkgs, ... }: {
|
|
services.flatpak.enable = true;
|
|
programs.steam = {
|
|
enable = true;
|
|
|
|
extraCompatPackages = [
|
|
pkgs.proton-ge-bin
|
|
];
|
|
|
|
# fix gamescope inside steam
|
|
package = pkgs.steam.override {
|
|
extraPkgs = pkgs:
|
|
with pkgs; [
|
|
keyutils
|
|
libkrb5
|
|
libpng
|
|
libpulseaudio
|
|
libvorbis
|
|
stdenv.cc.cc.lib
|
|
xorg.libXcursor
|
|
xorg.libXi
|
|
xorg.libXinerama
|
|
xorg.libXScrnSaver
|
|
];
|
|
};
|
|
};
|
|
programs.thunar.enable = true;
|
|
programs.gnupg.agent = {
|
|
enable = true;
|
|
enableSSHSupport = true;
|
|
};
|
|
programs.gamemode.enable = true;
|
|
boot.binfmt.registrations.appimage = {
|
|
wrapInterpreterInShell = false;
|
|
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
|
|
recognitionType = "magic";
|
|
offset = 0;
|
|
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
|
|
magicOrExtension = ''\x7fELF....AI\x02'';
|
|
};
|
|
environment.systemPackages = with pkgs; [
|
|
sipcalc
|
|
xdg-utils
|
|
pass
|
|
xdg-desktop-portal
|
|
pkg-config
|
|
xclip
|
|
nvd
|
|
xdg-desktop-portal-gtk
|
|
google-chrome
|
|
zoom-us
|
|
neovim
|
|
git
|
|
gnupg
|
|
pinentry-rofi
|
|
pinentry
|
|
rofi-rbw-x11
|
|
rbw
|
|
nil
|
|
nixpkgs-fmt
|
|
curl
|
|
git
|
|
libnotify
|
|
usbutils
|
|
vim
|
|
wget
|
|
v4l-utils
|
|
nmap
|
|
wineWowPackages.stable
|
|
rustc
|
|
cargo
|
|
|
|
];
|
|
systemd = {
|
|
user.services.polkit-gnome-authentication-agent-1 = {
|
|
description = "polkit-gnome-authentication-agent-1";
|
|
wantedBy = [ "graphical-session.target" ];
|
|
wants = [ "graphical-session.target" ];
|
|
after = [ "graphical-session.target" ];
|
|
serviceConfig = {
|
|
Type = "simple";
|
|
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
|
Restart = "on-failure";
|
|
RestartSec = 1;
|
|
TimeoutStopSec = 10;
|
|
};
|
|
};
|
|
};
|
|
}
|