restructure desktop/wm and remove nur
This commit is contained in:
16
modules/wm/default.nix
Normal file
16
modules/wm/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ pkgs, lib, config, ... }:
|
||||
|
||||
{
|
||||
options = {
|
||||
desktop = {
|
||||
wm = lib.mkOption { type = types.str; default = "sway"; };
|
||||
taskbar = lib.mkOption { type = types.str; default = "waybar"; };
|
||||
launcher = lib.mkOption { type = types.str; default = "bemenu"; };
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
imports =
|
||||
(import ./ + (desktop.wm)) ++
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user