Compare commits
2 commits
2121e0e7ff
...
5c615ce4fc
Author | SHA1 | Date | |
---|---|---|---|
|
5c615ce4fc | ||
|
cd8c2605e2 |
1 changed files with 46 additions and 5 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue