simplified namespace cause I dont wanna type that much and introduce colored man pages
This commit is contained in:
parent
c85c51ae3d
commit
8a9182dc2f
15 changed files with 54 additions and 126 deletions
|
@ -1,35 +0,0 @@
|
|||
{
|
||||
config,
|
||||
namespace,
|
||||
options,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.${namespace}.graphical-interface.desktop-manager.addons.rofi;
|
||||
|
||||
inherit (lib)
|
||||
mkIf
|
||||
mkEnableOption
|
||||
mkOption
|
||||
types
|
||||
;
|
||||
in
|
||||
{
|
||||
options.${namespace}.graphical-interface.desktop-manager.addons.rofi = {
|
||||
enable = mkEnableOption "Rofi";
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.rofi;
|
||||
description = "The package to use for Rofi";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
wyrdgard.home.file = {
|
||||
".config/rofi/config.rasi".source = ./config.rasi;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue