refactor for preparation of flake based systems
This commit is contained in:
parent
6527f67145
commit
25e9d06354
121 changed files with 449 additions and 40 deletions
27
modules_old/neovim.nix
Normal file
27
modules_old/neovim.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
settings,
|
||||
ringofstorms-nvim,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
name = "neovim";
|
||||
cfg = config.mods.${name};
|
||||
in
|
||||
{
|
||||
options = {
|
||||
mods.${name} = {
|
||||
enable = mkEnableOption (lib.mdDoc "Enable ${name}");
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment = {
|
||||
systemPackages = [
|
||||
ringofstorms-nvim.packages.${settings.system.system}.neovim
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue