phoebe: experimental swaywm config

screen orientation is still screwed up so keeping plasma around still.
This commit is contained in:
Payas Relekar 2023-11-14 13:12:38 +05:30
parent cd8c2605e2
commit 5c615ce4fc

View file

@ -46,13 +46,44 @@
};
};
security.polkit.enable = true;
programs.sway = {
enable = true;
wrapperFeatures.gtk = true; # so that gtk works properly
extraPackages = with pkgs; [
swaylock
swayidle
wl-clipboard
wf-recorder
mako # notification daemon
grim
#kanshi
slurp
wofi
alacritty # Alacritty is the default terminal in the config
dmenu # Dmenu is the default in the config but i recommend wofi since its wayland native
];
extraSessionCommands = ''
export SDL_VIDEODRIVER=wayland
export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
export _JAVA_AWT_WM_NONREPARENTING=1
export MOZ_ENABLE_WAYLAND=1
'';
};
programs.waybar.enable = true;
# QT
qt.platformTheme = "qt5ct";
# List packages installed in system profile. To search, run:
# $ nix search wget
# environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
# ];
environment.systemPackages = with pkgs; [
qt5ct
qt6ct
];
# Enable the OpenSSH daemon.
services.openssh.enable = true;