1
0
Fork 0
forked from Bun/nixos-config

Reorganize files, use less extra options on Sway, move session commands to home-manager

This commit is contained in:
Bun 2025-05-09 17:37:01 -04:00
parent 5cdd7b1de8
commit ee3b40f61f
25 changed files with 64 additions and 107 deletions

View file

@ -1,7 +1,8 @@
{ config, pkgs, ... }:
{ config, ... }:
{
imports = [
./autostart
./extra
./hotkeys
./inputs
./outputs
@ -11,15 +12,12 @@
wayland.windowManager.sway = {
enable = config.home.desktop.enable;
package = null;
wrapperFeatures.gtk = true;
checkConfig = false;
extraConfig = ''
default_floating_border pixel ${config.look.border.string}
hide_edge_borders --i3 smart
titlebar_padding 10 1
primary_selection disabled
mouse_warping container
extraOptions = [ "--unsupported-gpu" ];
extraSessionCommands = ''
export ELECTRON_OZONE_PLATFORM_HINT=wayland
export WLR_RENDERER=vulkan
'';
};
}