forked from Bun/nixos-config
Reorganize files, use less extra options on Sway, move session commands to home-manager
This commit is contained in:
parent
5cdd7b1de8
commit
ee3b40f61f
25 changed files with 64 additions and 107 deletions
|
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue