nixos/system/programs.nix

87 lines
1.8 KiB
Nix
Raw Normal View History

2024-03-18 11:58:34 +00:00
{ config, pkgs, ... }: {
programs.steam = {
enable = true;
2024-04-21 04:49:09 +00:00
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
];
2024-03-22 17:21:55 +00:00
};
};
2024-04-19 10:31:32 +00:00
programs.thunar.enable = true;
2024-03-18 11:58:34 +00:00
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
2024-04-21 04:49:09 +00:00
programs.gamemode.enable = true;
2024-04-19 10:31:32 +00:00
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'';
};
2024-03-18 11:58:34 +00:00
environment.systemPackages = with pkgs; [
xdg-utils
2024-03-21 14:51:35 +00:00
pass
2024-03-18 11:58:34 +00:00
xdg-desktop-portal
2024-05-01 16:29:17 +00:00
pkg-config
2024-07-07 21:16:41 +00:00
xclip
nvd
2024-03-18 11:58:34 +00:00
xdg-desktop-portal-gtk
2024-07-07 21:16:41 +00:00
google-chrome
2024-04-21 04:49:09 +00:00
zoom-us
2024-03-18 11:58:34 +00:00
neovim
git
gnupg
pinentry-rofi
pinentry
rofi-rbw-x11
rbw
nil
nixpkgs-fmt
2024-03-18 12:11:31 +00:00
curl
2024-07-07 21:34:34 +00:00
jellyfin-media-player
2024-03-18 12:11:31 +00:00
git
libnotify
usbutils
vim
wget
v4l-utils
nmap
2024-04-19 10:31:32 +00:00
wineWowPackages.stable
2024-03-18 12:11:31 +00:00
2024-03-18 11:58:34 +00:00
];
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;
};
};
};
}