Change yt music to unstable, fix notifications and steam, fix restore script

This commit is contained in:
askiiart 2024-03-05 19:09:13 -06:00
parent fb90089380
commit 6b3cd2b413
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
3 changed files with 52 additions and 16 deletions

View file

@ -17,13 +17,6 @@ in
environment.systemPackages = [
pkgs.polkit_gnome
pkgs.sway
pkgs.swaybg
pkgs.swaylock
pkgs.i3status
pkgs.clipman
pkgs.slurp
pkgs.grim
pkgs.gnome.zenity
pkgs.imagemagick
pkgs.greetd.gtkgreet
pkgs.fish
@ -36,8 +29,33 @@ in
#pkgs.xdg-desktop-portal-gtk
pkgs.iotop
pkgs.gparted
pkgs.dbus
pkgs.xdg-utils
pkgs.spamassassin
];
# enable spamd
services.spamassassin.enable = true;
# xdg-desktop-portal works by exposing a series of D-Bus interfaces
# known as portals under a well-known name
# (org.freedesktop.portal.Desktop) and object path
# (/org/freedesktop/portal/desktop).
# The portal interfaces include APIs for file access, opening URIs,
# printing and others.
services.dbus.enable = true;
xdg.portal = {
enable = true;
wlr.enable = true;
# gtk portal needed to make gtk apps happy
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
configPackages = [ pkgs.xdg-desktop-portal-gtk ];
};
# Enable the gnome-keyring secrets vault.
# Will be exposed through DBus to programs willing to store secrets.
services.gnome.gnome-keyring.enable = true;
# enable flatpak
# disabled because the XDG portal adds like a 30 second delay to opening most programs, and I don't actually use flatpaks so whatever
#services.flatpak.enable = true;
@ -46,8 +64,6 @@ in
#xdg.portal.config = [ "xdg-deskop-portal-gtk" ];
#xdg.portal.config.common.default = "*";
#programs.steam.enable = true;
# enable virt
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
@ -189,4 +205,6 @@ in
nixpkgs.config.pulseaudio = true;
hardware.pulseaudio.extraConfig = "load-module module-combine-sink module-dbus-protocol";
# fix Steam glXChooseVisual failed
hardware.opengl.driSupport32Bit = true;
}