working parallel with steam

This commit is contained in:
wieerwill 2024-11-04 12:03:29 +01:00
parent efe0e47d45
commit a8c91cbee7

View File

@ -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"; }
];
};
};
};