Compare commits

...

2 commits

Author SHA1 Message Date
Payas Relekar
5c615ce4fc phoebe: experimental swaywm config
screen orientation is still screwed up so keeping plasma around still.
2023-11-14 13:14:37 +05:30
Payas Relekar
cd8c2605e2 phoebe: update libinput config
this was done in hope of getting middle mouse button to act as a scroll
button, but alas, it does not work. At the very least, there are no
regressions yet
2023-11-14 13:14:37 +05:30

View file

@ -35,14 +35,55 @@
services.printing.enable = true;
# Enable touchpad support (enabled default in most desktopManager).
services.xserver.libinput.enable = true;
services.xserver.libinput = {
enable = true;
mouse = {
naturalScrolling = true;
tapping = true;
scrollMethod = "button";
scrollButton = 3;
middleEmulation = false;
};
};
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;