add(helix): added helix module
This commit is contained in:
4
nix/modules/helix/default.nix
Normal file
4
nix/modules/helix/default.nix
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
_: {
|
||||||
|
home = ./home.nix;
|
||||||
|
# nixos: ./nixos.nix;
|
||||||
|
}
|
||||||
25
nix/modules/helix/home.nix
Normal file
25
nix/modules/helix/home.nix
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
home,
|
||||||
|
system,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
cfg = config.modules.helix;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.modules.helix = {
|
||||||
|
enable = lib.mkEnableOption "Blender configuration module";
|
||||||
|
};
|
||||||
|
# whole bottles config including addons is too fat to include here
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
programs.helix = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
# nix'ing a bottles config is most likely not possible
|
||||||
|
# could probs install bottles addons through nix since they are fat fat mega fat to install TODO
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user