nixos/system/programs.nix

149 lines
3.2 KiB
Nix
Raw Normal View History

2024-10-31 13:14:45 +01:00
{ config, pkgs, inputs, ... }: {
2024-07-24 07:11:35 +02:00
services.flatpak.enable = true;
2024-11-01 11:12:39 +01:00
programs.nix-ld.enable = true;
2024-11-01 11:20:23 +01:00
programs.nix-ld.libraries = [
2024-11-01 11:17:05 +01:00
# put here missing libraries
2024-11-01 11:20:23 +01:00
pkgs.glibc
];
2024-03-18 12:58:34 +01:00
programs.steam = {
enable = true;
2024-12-01 12:56:28 +01:00
extraPackages = [
pkgs.mangohud
];
package = pkgs.steam.override {
extraLibraries = pkgs: [
pkgs.mangohud
];
extraEnv = {
MANGOHUD=true;
};
};
2024-04-21 06:49:09 +02:00
2024-03-22 18:21:55 +01:00
};
2024-04-19 12:31:32 +02:00
programs.thunar.enable = true;
2024-03-18 12:58:34 +01:00
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
2024-04-21 06:49:09 +02:00
programs.gamemode.enable = true;
2024-04-19 12:31:32 +02: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 12:58:34 +01:00
environment.systemPackages = with pkgs; [
2024-10-31 13:14:45 +01:00
(inputs.umu.packages.${pkgs.system}.umu.override { version = "${inputs.umu.shortRev}"; })
gfxreconstruct
glslang
2024-12-01 12:56:28 +01:00
(opera.override { proprietaryCodecs = true; })
2024-10-31 13:14:45 +01:00
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 03:17:38 +01:00
bottles
2024-10-31 13:14:45 +01:00
vkd3d-proton
vk-bootstrap
2024-11-02 02:45:21 +01:00
(lutris.override {
2024-11-06 16:10:54 +01:00
steamSupport = true;
2024-11-02 02:45:21 +01:00
extraLibraries = pkgs: [
2024-11-06 16:10:54 +01:00
liboggz
libgudev
speex
2024-11-04 22:04:08 +01:00
libogg
flac
graphene
2024-11-06 16:10:54 +01:00
libvpx
2024-11-04 22:04:08 +01:00
];
extraPkgs = pkgs: [
2024-11-06 16:10:54 +01:00
libvpx
2024-11-04 22:04:08 +01:00
libogg
2024-11-06 16:10:54 +01:00
liboggz
2024-11-04 22:04:08 +01:00
flac
graphene
2024-11-02 02:45:21 +01: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 22:04:08 +01:00
openssl
nghttp2
libidn2
rtmpdump
libpsl
curl
krb5
keyutils
# List library dependencies here
2024-11-02 02:45:21 +01:00
];
})
2024-09-13 18:42:10 +02:00
sipcalc
2024-03-18 12:58:34 +01:00
xdg-utils
2024-03-21 15:51:35 +01:00
pass
2024-03-18 12:58:34 +01:00
xdg-desktop-portal
2024-05-01 18:29:17 +02:00
pkg-config
2024-07-07 23:16:41 +02:00
xclip
nvd
2024-03-18 12:58:34 +01:00
xdg-desktop-portal-gtk
2024-07-07 23:16:41 +02:00
google-chrome
2024-04-21 06:49:09 +02:00
zoom-us
2024-10-31 13:14:45 +01:00
# icu
# icu.dev
2024-03-18 12:58:34 +01:00
neovim
git
gnupg
pinentry-rofi
pinentry
rofi-rbw-x11
rbw
nil
nixpkgs-fmt
2024-03-18 13:11:31 +01:00
curl
git
libnotify
usbutils
vim
wget
v4l-utils
nmap
2024-04-19 12:31:32 +02:00
wineWowPackages.stable
2024-09-13 18:42:10 +02:00
rustc
cargo
2024-03-18 13:11:31 +01:00
2024-03-18 12:58:34 +01: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;
};
};
};
}