Skip to content

Commit

Permalink
nixos/services.xserver.windowManager.e16: remove with lib;
Browse files Browse the repository at this point in the history
  • Loading branch information
Stunkymonkey committed Dec 30, 2024
1 parent 491556f commit 6549f0d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions nixos/modules/services/x11/window-managers/e16.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,18 @@
pkgs,
...
}:

with lib;

let
cfg = config.services.xserver.windowManager.e16;
in
{
###### interface
options = {
services.xserver.windowManager.e16.enable = mkEnableOption "e16";
services.xserver.windowManager.e16.enable = lib.mkEnableOption "e16";
};

###### implementation
config = mkIf cfg.enable {
services.xserver.windowManager.session = singleton {
config = lib.mkIf cfg.enable {
services.xserver.windowManager.session = lib.singleton {
name = "E16";
start = ''
${pkgs.e16}/bin/e16 &
Expand Down

0 comments on commit 6549f0d

Please sign in to comment.