46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
|
{ config, pkgs, ... }: {
|
||
|
|
||
|
programs.zsh.enable = true;
|
||
|
programs.steam = {
|
||
|
enable = true;
|
||
|
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||
|
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||
|
};
|
||
|
programs.gnupg.agent = {
|
||
|
enable = true;
|
||
|
pinentryFlavor = "curses";
|
||
|
enableSSHSupport = true;
|
||
|
};
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
steam-run
|
||
|
xdg-utils
|
||
|
xdg-desktop-portal
|
||
|
xdg-desktop-portal-gtk
|
||
|
unstable.zoom-us
|
||
|
neovim
|
||
|
git
|
||
|
gnupg
|
||
|
pinentry-rofi
|
||
|
pinentry
|
||
|
rofi-rbw-x11
|
||
|
rbw
|
||
|
nil
|
||
|
nixpkgs-fmt
|
||
|
];
|
||
|
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;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|