chore(sway): Update
This commit is contained in:
parent
f35a2c5e85
commit
caa24fb255
2 changed files with 22 additions and 27 deletions
|
@ -71,7 +71,7 @@ in {
|
||||||
wayland
|
wayland
|
||||||
xdg-utils # Open with default program
|
xdg-utils # Open with default program
|
||||||
glib # gsettings
|
glib # gsettings
|
||||||
wl-clipboard
|
wl-clipboard # Copying to system clipboard in vim
|
||||||
wl-mirror # Mirror an output
|
wl-mirror # Mirror an output
|
||||||
wdisplays # Tool to configure displays
|
wdisplays # Tool to configure displays
|
||||||
|
|
||||||
|
@ -84,8 +84,10 @@ in {
|
||||||
swaylock-effects
|
swaylock-effects
|
||||||
waybar
|
waybar
|
||||||
wlsunset
|
wlsunset
|
||||||
|
waycorner
|
||||||
|
|
||||||
# TODO Turn into own module/package?
|
# TODO Turn into own module/package?
|
||||||
|
dmenu
|
||||||
jq
|
jq
|
||||||
j4-dmenu-desktop
|
j4-dmenu-desktop
|
||||||
rofi
|
rofi
|
||||||
|
@ -106,43 +108,36 @@ in {
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
];
|
];
|
||||||
|
|
||||||
security.polkit.enable = true;
|
hardware.graphics.enable = true;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
atd.enable = true; # Required by sunset.sh
|
atd.enable = true; # Required by sunset.sh
|
||||||
dbus.enable = true;
|
dbus.enable = true;
|
||||||
|
displayManager.ly.enable = true;
|
||||||
gnome.gnome-keyring.enable = true;
|
gnome.gnome-keyring.enable = true;
|
||||||
|
|
||||||
pipewire = {
|
|
||||||
enable = true;
|
|
||||||
alsa.enable = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
power-profiles-daemon.enable = true;
|
power-profiles-daemon.enable = true;
|
||||||
|
xserver.videoDrivers = [ "nouveau" ];
|
||||||
xserver = {
|
# xserver.videoDrivers = [ "nvidia" ];
|
||||||
displayManager.session = [{
|
|
||||||
manage = "window";
|
|
||||||
name = "Sway";
|
|
||||||
start = ''
|
|
||||||
${pkgs.sway}/bin/sway --unsupported-gpu &
|
|
||||||
waitPID=$!
|
|
||||||
'';
|
|
||||||
}];
|
|
||||||
videoDrivers = [ "nouveau" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wlr.enable = true;
|
wlr.enable = true;
|
||||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
extraPortals = with pkgs; [
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
gtk-session-lock
|
||||||
|
];
|
||||||
|
xdgOpenUsePortal = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.sway = {
|
programs = {
|
||||||
enable = true;
|
sway = {
|
||||||
wrapperFeatures.gtk = true;
|
enable = true;
|
||||||
|
package = pkgs.swayfx;
|
||||||
|
wrapperFeatures.gtk = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
waybar.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
sisyphus.users.wantedGroups = [
|
sisyphus.users.wantedGroups = [
|
||||||
|
|
|
@ -17,7 +17,7 @@ in {
|
||||||
source = ../../../stow/alacritty/.config/alacritty;
|
source = ../../../stow/alacritty/.config/alacritty;
|
||||||
};
|
};
|
||||||
".config/dunst" = {
|
".config/dunst" = {
|
||||||
inherit (config.sisyphus.desktop.sway) enable;
|
enable = config.sisyphus.desktop.hyprland.enable || config.sisyphus.desktop.sway.enable;
|
||||||
source = ../../../stow/dunst/.config/dunst;
|
source = ../../../stow/dunst/.config/dunst;
|
||||||
};
|
};
|
||||||
".config/foot" = {
|
".config/foot" = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue