chore(home): cleanup modules
Some checks failed
Continuous Integration / Checks (push) Has been cancelled
Some checks failed
Continuous Integration / Checks (push) Has been cancelled
This commit is contained in:
parent
5ec7575655
commit
532612a5a6
27 changed files with 272 additions and 1238 deletions
|
|
@ -1,27 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.dadada.home.helix;
|
||||
in
|
||||
{
|
||||
options.dadada.home.helix = {
|
||||
enable = lib.mkEnableOption "Enable helix editor";
|
||||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
description = "Helix editor package to use";
|
||||
default = pkgs.helix;
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.file.".config/helix".source = ./config;
|
||||
home.packages = [
|
||||
cfg.package
|
||||
#pkgs.nixd
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue