Modularize desktop service and remove desktop.wms from machine opts.
This commit is contained in:
parent
13a25fe675
commit
483c5d3f39
6 changed files with 32 additions and 64 deletions
|
@ -1,6 +1,9 @@
|
|||
{ pkgs }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
with lib;
|
||||
|
||||
mkIf (elem "desktop::sway" config.machine.services) {
|
||||
programs.sway = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
xwayland
|
||||
|
@ -26,4 +29,5 @@
|
|||
# use this if they aren't displayed properly:
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
'';
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue