format the repo files
This commit is contained in:
@@ -1,16 +1,29 @@
|
||||
{ pkgs, lib, config, ... }:
|
||||
with lib;
|
||||
{
|
||||
# NOTE: Dynamic imports based on option values are not supported in NixOS modules.
|
||||
# To conditionally load a WM, either import all WM modules and use mkIf in each,
|
||||
# or select the WM module directly in the host configuration.
|
||||
imports = [];
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib; {
|
||||
# NOTE: Dynamic imports based on option values are not supported in NixOS modules.
|
||||
# To conditionally load a WM, either import all WM modules and use mkIf in each,
|
||||
# or select the WM module directly in the host configuration.
|
||||
imports = [];
|
||||
|
||||
options = {
|
||||
desktop = {
|
||||
wm = mkOption { type = types.str; default = "sway"; };
|
||||
taskbar = mkOption { type = types.str; default = "waybar"; };
|
||||
launcher = mkOption { type = types.str; default = "bemenu"; };
|
||||
};
|
||||
options = {
|
||||
desktop = {
|
||||
wm = mkOption {
|
||||
type = types.str;
|
||||
default = "sway";
|
||||
};
|
||||
taskbar = mkOption {
|
||||
type = types.str;
|
||||
default = "waybar";
|
||||
};
|
||||
launcher = mkOption {
|
||||
type = types.str;
|
||||
default = "bemenu";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user