hm-modules: the great refactoring part 1
This commit is contained in:
parent
1b2f5d6094
commit
b7ccaf8285
11 changed files with 29 additions and 39 deletions
|
|
@ -1,13 +0,0 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.settings.programs.helix = {
|
||||
enable = lib.mkEnableOption "enables the helix modal editor";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.settings.programs.helix.enable {
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
settings = builtins.fromTOML (builtins.readFile ./config.toml);
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue