chore: make namespace generic so people can copy easier
This commit is contained in:
parent
0158f7ff06
commit
0562818aa7
45 changed files with 249 additions and 217 deletions
|
@ -1,17 +1,19 @@
|
|||
{
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
namespace,
|
||||
options,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.wyrdgard;
|
||||
with lib.${namespace};
|
||||
let
|
||||
cfg = config.wyrdgard.apps.cli-apps.fish;
|
||||
inherit (lib) mkIf;
|
||||
inherit (lib.${namespace}) mkBoolOpt;
|
||||
cfg = config.${namespace}.apps.cli-apps.fish;
|
||||
in
|
||||
{
|
||||
options.wyrdgard.apps.cli-apps.fish = with types; {
|
||||
options.${namespace}.apps.cli-apps.fish = {
|
||||
enable = mkBoolOpt true "Whether or not to enable the fish shell";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,11 +1,16 @@
|
|||
{ lib, config, ... }:
|
||||
with lib;
|
||||
with lib.wyrdgard;
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
namespace,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.wyrdgard.apps.cli-apps.home-manager;
|
||||
inherit (lib) mkIf;
|
||||
inherit (lib.${namespace}) mkBoolOpt enabled;
|
||||
cfg = config.${namespace}.apps.cli-apps.home-manager;
|
||||
in
|
||||
{
|
||||
options.wyrdgard.apps.cli-apps.home-manager = {
|
||||
options.${namespace}.apps.cli-apps.home-manager = {
|
||||
enable = mkBoolOpt true "Enable home-manager";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
{
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
namespace,
|
||||
options,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.wyrdgard;
|
||||
let
|
||||
cfg = config.wyrdgard.apps.cli-apps.starship;
|
||||
inherit (lib) mkIf;
|
||||
inherit (lib.${namespace}) mkBoolOpt;
|
||||
cfg = config.${namespace}.apps.cli-apps.starship;
|
||||
in
|
||||
{
|
||||
options.wyrdgard.apps.cli-apps.starship = with types; {
|
||||
options.${namespace}.apps.cli-apps.starship = {
|
||||
enable = mkBoolOpt true "Whether or not to enable starship shell";
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue