1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat: split sway config into own file

This commit is contained in:
oddlama 2023-09-04 17:10:07 +02:00
parent 14329a9a5d
commit ae62336669
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
4 changed files with 131 additions and 66 deletions

View file

@ -1,32 +1,10 @@
{pkgs, ...}: {
imports = [
./kitty.nix
./sway.nix
];
wayland.windowManager.sway = {
enable = true;
config = rec {
modifier = "Mod4";
terminal = "kitty";
focus.followMouse = false;
input = {
"*" = {
xkb_layout = "de";
repeat_delay = "235";
repeat_rate = "60";
};
};
};
};
home.packages = with pkgs; [
xdg-utils
wdisplays
wl-clipboard
pinentry
xdragon
discord
firefox
thunderbird
@ -35,26 +13,12 @@
zathura
feh
];
home.sessionVariables.NIXOS_OZONE_WL = 1;
home.sessionVariables.WLR_NO_HARDWARE_CURSORS = 1;
home.sessionVariables.WLR_RENDERER = "vulkan";
# TODO VP9 hardware video decoding blocklisted
# TODO xdg-open
# TODO gpg orswitch to sk
# TODO mouse speed
# TODO persist tmp malte ddelete.
# TODO ncdu
# TODO gpg switch to sk
home.shellAliases = {
p = "cd ~/projects";
zf = "zathura --fork";
};
# Needed to fix cursors in firefox under wayland, see https://github.com/NixOS/nixpkgs/issues/207339#issuecomment-1374497558
gtk = {
enable = true;
theme = {
package = pkgs.gnome.gnome-themes-extra;
name = "Adwaita-dark";
};
};
}