From a8c91cbee7f55899afae5417451f64f25dd07399 Mon Sep 17 00:00:00 2001 From: wieerwill Date: Mon, 4 Nov 2024 12:03:29 +0100 Subject: [PATCH] working parallel with steam --- home.nix | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/home.nix b/home.nix index 6a2cef1..c3153df 100644 --- a/home.nix +++ b/home.nix @@ -17,7 +17,7 @@ in # manage. home.username = "wieerwill"; home.homeDirectory = "/home/wieerwill"; - + home.enableNixpkgsReleaseCheck = false; # This value determines the Home Manager release that your configuration is # compatible with. This helps avoid breakage when a new Home Manager release # introduces backwards incompatible changes. @@ -39,17 +39,23 @@ in alacritty logseq okular - firefox + firefox # utility htop pulsemixer brightnessctl - # Sway + gammastep # color temperature + swaybg + xwayland grim # screenshot functionality slurp # screenshot functionality wl-clipboard # wl-copy and wl-paste for copy/paste from stdin / stdout mako # notification system developed by swaywm maintainer + # steam deck touch compability in non-steam games + caribou + nixgl.auto.nixGLDefault + # # It is sometimes useful to fine-tune packages, for example, by applying # # overrides. You can do that directly here, just don't forget the # # parentheses. Maybe you want to install Nerd Fonts with a limited number of @@ -120,8 +126,8 @@ in programs.neovim = { enable = true; - #viAlias = true; - #vimAlias = true; + viAlias = true; + vimAlias = true; #defaultEditor = true; #extraConfig = '' # set number relativenumber @@ -146,6 +152,7 @@ in {command = "logseq";} {command = "thunderbird";} {command = "firefox";} + {command = "steam";} # Update environment variables {command = "dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP XDG_SESSION_TYPE NIXOS_OZONE_WL XCURSOR_THEME XCURSOR_SIZE PATH";} # Start sway-session.target @@ -154,6 +161,9 @@ in # Keyboard layout input = { + "type:touch" = { + map_to_output = "${display1}"; + }; "*" = { xkb_layout = "de"; # German keyboard layout }; @@ -237,7 +247,10 @@ in ]; "${workspace6}" = [ { app_id = "org.keepassxc.KeePassXC"; } ]; "${workspace7}" = [ { app_id = "Alacritty"; } ]; - "${workspace8}" = [ { class = "vlc"; } ]; + "${workspace8}" = [ + { class = "vlc"; } + { class = "steam"; } + ]; }; }; };