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
26
home/helix/default.nix
Normal file
26
home/helix/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.dadada.home.helix;
|
||||
in
|
||||
{
|
||||
options.dadada.home.helix = {
|
||||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
description = "Helix editor package to use";
|
||||
default = pkgs.helix;
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
home.file.".config/helix".source = ./config;
|
||||
home.packages = [
|
||||
cfg.package
|
||||
#pkgs.nixd
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue