forked from Shinonome/dots-hyprland
organized
This commit is contained in:
@@ -5,24 +5,9 @@
|
||||
}: let
|
||||
cfg = config.programs.illogical-impulse;
|
||||
in {
|
||||
options = {
|
||||
programs.illogical-impulse = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable the illogical-impulse program module.";
|
||||
};
|
||||
settings = {
|
||||
simpleStarship = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Uses a custom pure-like starship configuration.";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
imports = [
|
||||
./options.nix
|
||||
];
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.starship = lib.mkIf cfg.settings.simpleStarship.enable {
|
||||
|
||||
Reference in New Issue
Block a user