diff --git a/home/desktop-sway.nix b/home/desktop-sway.nix index baedb06..f5fb352 100644 --- a/home/desktop-sway.nix +++ b/home/desktop-sway.nix @@ -3,6 +3,8 @@ let cfg = config.my.sway; in { + imports = [./desktop.nix]; + options.my.sway = with pkgs.lib; { KDEConnect = mkOption { default = true; @@ -32,8 +34,6 @@ in }; config = { - imports = [./desktop.nix]; - home.sessionVariables = { XDG_CURRENT_DESKTOP = "sway"; MOZ_ENABLE_WAYLAND = 1;