Rename module namespaces

This commit is contained in:
SebastianStork 2024-07-15 20:16:50 +02:00
parent 0dcf8cc292
commit ca1357b2d4
35 changed files with 4 additions and 4 deletions

20
modules/system/comma.nix Normal file
View file

@ -0,0 +1,20 @@
{
inputs,
config,
lib,
...
}:
let
cfg = config.myConfig.comma;
in
{
imports = [ inputs.nix-index-database.nixosModules.nix-index ];
options.myConfig.comma.enable = lib.mkEnableOption "";
config = {
programs.command-not-found.enable = !cfg.enable;
programs.nix-index.enable = cfg.enable;
programs.nix-index-database.comma.enable = cfg.enable;
};
}