nixos/system/programs.nix

121 lines
2.4 KiB
Nix
Raw Normal View History

2025-01-12 14:40:40 +01:00
{ config
, pkgs
, inputs
, ...
2024-12-04 16:27:03 +01:00
}:
2025-01-12 14:40:40 +01:00
let
inherit (pkgs.stdenv.hostPlatform) system;
umu = inputs.umu.packages.${system}.umu.override {
version = inputs.umu.shortRev;
truststore = true;
};
in
2024-12-04 16:27:03 +01:00
{
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-04 16:27:03 +01:00
extraPackages = [
pkgs.mangohud
];
2024-12-01 12:56:28 +01:00
package = pkgs.steam.override {
extraLibraries = pkgs: [
pkgs.mangohud
];
extraEnv = {
2024-12-04 16:27:03 +01:00
MANGOHUD = true;
2024-12-01 12:56:28 +01:00
};
};
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
gfxreconstruct
glslang
2024-12-01 12:56:28 +01:00
(opera.override { proprietaryCodecs = true; })
2024-10-31 13:14:45 +01:00
spirv-cross
2025-01-12 14:40:40 +01:00
lsof
2024-10-31 13:14:45 +01:00
spirv-headers
spirv-tools
vulkan-extension-layer
vulkan-headers
vulkan-loader
vulkan-tools
vulkan-tools-lunarg
vulkan-utility-libraries
vulkan-validation-layers
vkdisplayinfo
vkd3d
vkd3d-proton
vk-bootstrap
2024-12-04 16:15:54 +01:00
lutris
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-03-18 12:58:34 +01:00
neovim
git
gnupg
pinentry-rofi
pinentry
rofi-rbw-x11
rbw
2025-01-12 14:40:40 +01:00
protontricks
2024-03-18 12:58:34 +01:00
nil
nixpkgs-fmt
2024-03-18 13:11:31 +01:00
curl
git
libnotify
usbutils
vim
wget
2025-01-12 14:40:40 +01:00
spotify
protonup
2024-03-18 13:11:31 +01:00
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;
};
};
};
}