nixos/system/programs.nix

139 lines
3.0 KiB
Nix
Raw Permalink Normal View History

2024-10-31 12:14:45 +00:00
{ config, pkgs, inputs, ... }: {
2024-07-24 05:11:35 +00:00
services.flatpak.enable = true;
2024-11-01 10:12:39 +00:00
programs.nix-ld.enable = true;
2024-11-01 10:20:23 +00:00
programs.nix-ld.libraries = [
2024-11-01 10:17:05 +00:00
# put here missing libraries
2024-11-01 10:20:23 +00:00
pkgs.glibc
];
2024-03-18 11:58:34 +00:00
programs.steam = {
enable = true;
2024-04-21 04:49:09 +00:00
extraCompatPackages = [
pkgs.proton-ge-bin
];
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; [
2024-10-31 12:14:45 +00:00
(inputs.umu.packages.${pkgs.system}.umu.override { version = "${inputs.umu.shortRev}"; })
gfxreconstruct
glslang
spirv-cross
spirv-headers
spirv-tools
vulkan-extension-layer
vulkan-headers
vulkan-loader
vulkan-tools
vulkan-tools-lunarg
vulkan-utility-libraries
vulkan-validation-layers
vkdisplayinfo
vkd3d
2024-11-02 02:17:38 +00:00
bottles
2024-10-31 12:14:45 +00:00
vkd3d-proton
vk-bootstrap
2024-11-02 01:45:21 +00:00
(lutris.override {
2024-11-06 15:10:54 +00:00
steamSupport = true;
2024-11-02 01:45:21 +00:00
extraLibraries = pkgs: [
2024-11-06 15:10:54 +00:00
liboggz
libgudev
speex
2024-11-04 21:04:08 +00:00
libogg
flac
graphene
2024-11-06 15:10:54 +00:00
libvpx
2024-11-04 21:04:08 +00:00
];
extraPkgs = pkgs: [
2024-11-06 15:10:54 +00:00
libvpx
2024-11-04 21:04:08 +00:00
libogg
2024-11-06 15:10:54 +00:00
liboggz
2024-11-04 21:04:08 +00:00
flac
graphene
2024-11-02 01:45:21 +00:00
gst_all_1.gstreamer
# Common plugins like "filesrc" to combine within e.g. gst-launch
gst_all_1.gst-plugins-base
# Specialized plugins separated by quality
gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-ugly
# Plugins to reuse ffmpeg to play almost every video format
gst_all_1.gst-libav
# Support the Video Audio (Hardware) Acceleration API
gst_all_1.gst-vaapi
2024-11-04 21:04:08 +00:00
openssl
nghttp2
libidn2
rtmpdump
libpsl
curl
krb5
keyutils
# List library dependencies here
2024-11-02 01:45:21 +00:00
];
})
2024-09-13 16:42:10 +00:00
sipcalc
2024-03-18 11:58:34 +00:00
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-10-31 12:14:45 +00:00
# icu
# icu.dev
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
git
libnotify
usbutils
vim
wget
v4l-utils
nmap
2024-04-19 10:31:32 +00:00
wineWowPackages.stable
2024-09-13 16:42:10 +00:00
rustc
cargo
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;
};
};
};
}