Change yt music to unstable, fix notifications and steam, fix restore script
This commit is contained in:
parent
fb90089380
commit
6b3cd2b413
3 changed files with 52 additions and 16 deletions
|
@ -17,13 +17,6 @@ in
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
pkgs.polkit_gnome
|
pkgs.polkit_gnome
|
||||||
pkgs.sway
|
pkgs.sway
|
||||||
pkgs.swaybg
|
|
||||||
pkgs.swaylock
|
|
||||||
pkgs.i3status
|
|
||||||
pkgs.clipman
|
|
||||||
pkgs.slurp
|
|
||||||
pkgs.grim
|
|
||||||
pkgs.gnome.zenity
|
|
||||||
pkgs.imagemagick
|
pkgs.imagemagick
|
||||||
pkgs.greetd.gtkgreet
|
pkgs.greetd.gtkgreet
|
||||||
pkgs.fish
|
pkgs.fish
|
||||||
|
@ -36,8 +29,33 @@ in
|
||||||
#pkgs.xdg-desktop-portal-gtk
|
#pkgs.xdg-desktop-portal-gtk
|
||||||
pkgs.iotop
|
pkgs.iotop
|
||||||
pkgs.gparted
|
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
|
# 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
|
# 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;
|
#services.flatpak.enable = true;
|
||||||
|
@ -46,8 +64,6 @@ in
|
||||||
#xdg.portal.config = [ "xdg-deskop-portal-gtk" ];
|
#xdg.portal.config = [ "xdg-deskop-portal-gtk" ];
|
||||||
#xdg.portal.config.common.default = "*";
|
#xdg.portal.config.common.default = "*";
|
||||||
|
|
||||||
#programs.steam.enable = true;
|
|
||||||
|
|
||||||
# enable virt
|
# enable virt
|
||||||
virtualisation.libvirtd.enable = true;
|
virtualisation.libvirtd.enable = true;
|
||||||
programs.virt-manager.enable = true;
|
programs.virt-manager.enable = true;
|
||||||
|
@ -189,4 +205,6 @@ in
|
||||||
nixpkgs.config.pulseaudio = true;
|
nixpkgs.config.pulseaudio = true;
|
||||||
hardware.pulseaudio.extraConfig = "load-module module-combine-sink module-dbus-protocol";
|
hardware.pulseaudio.extraConfig = "load-module module-combine-sink module-dbus-protocol";
|
||||||
|
|
||||||
|
# fix Steam glXChooseVisual failed
|
||||||
|
hardware.opengl.driSupport32Bit = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
let
|
||||||
|
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
|
||||||
|
in
|
||||||
{
|
{
|
||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs.librewolf
|
pkgs.librewolf
|
||||||
|
@ -15,7 +17,8 @@
|
||||||
pkgs.mate.eom
|
pkgs.mate.eom
|
||||||
pkgs.neovim
|
pkgs.neovim
|
||||||
pkgs.virt-manager
|
pkgs.virt-manager
|
||||||
pkgs.youtube-music
|
unstable.youtube-music
|
||||||
|
pkgs.mako
|
||||||
#pkgs.gparted
|
#pkgs.gparted
|
||||||
#pkgs.cinnamon.nemo-with-extensions
|
#pkgs.cinnamon.nemo-with-extensions
|
||||||
pkgs.cinnamon.nemo
|
pkgs.cinnamon.nemo
|
||||||
|
@ -57,7 +60,22 @@
|
||||||
pkgs.claws-mail
|
pkgs.claws-mail
|
||||||
pkgs.gnome.gnome-calculator
|
pkgs.gnome.gnome-calculator
|
||||||
pkgs.armcord
|
pkgs.armcord
|
||||||
|
pkgs.wl-clipboard
|
||||||
|
pkgs.swaybg
|
||||||
|
pkgs.swaylock
|
||||||
|
pkgs.i3status
|
||||||
|
pkgs.clipman
|
||||||
|
pkgs.slurp
|
||||||
|
pkgs.grim
|
||||||
|
pkgs.gnome.zenity
|
||||||
|
pkgs.wdisplays
|
||||||
|
pkgs.glib
|
||||||
|
pkgs.wireguard-tools
|
||||||
|
pkgs.gcolor3
|
||||||
|
pkgs.gedit
|
||||||
|
pkgs.rustup
|
||||||
|
pkgs.gdbgui
|
||||||
|
pkgs.libreoffice-qt
|
||||||
|
pkgs.mosh
|
||||||
];
|
];
|
||||||
|
|
||||||
#programs.steam.enable = true;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,6 @@ SCRIPT_LOCATION=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
||||||
|
|
||||||
sudo cp -r $SCRIPT_LOCATION/etc-nixos/* /etc/nixos/
|
sudo cp -r $SCRIPT_LOCATION/etc-nixos/* /etc/nixos/
|
||||||
|
|
||||||
sudo rm -rf $HOME/.config/home-manager/
|
rm -rf $HOME/.config/home-manager/
|
||||||
sudo mkdir -p $HOME/.config/home-manager/
|
mkdir -p $HOME/.config/home-manager/
|
||||||
sudo cp -r $SCRIPT_LOCATION/home-manager/* $HOME/.config/home-manager/
|
cp -r $SCRIPT_LOCATION/home-manager/* $HOME/.config/home-manager/
|
||||||
|
|
Loading…
Reference in a new issue