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,15 +1,7 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
config = lib.mkIf config.system.desktop.enable {
|
||||
programs.sway = {
|
||||
enable = true;
|
||||
extraOptions = [ "--unsupported-gpu" ];
|
||||
extraSessionCommands = ''
|
||||
export ELECTRON_OZONE_PLATFORM_HINT=wayland
|
||||
export WLR_RENDERER=vulkan
|
||||
'';
|
||||
wrapperFeatures.gtk = true;
|
||||
};
|
||||
programs.sway.enable = true;
|
||||
|
||||
services.dbus.enable = true;
|
||||
security.pam.services.swaylock = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue