dev
This commit is contained in:
parent
ab2336563e
commit
1d3c4cc2ac
@ -1,16 +1,18 @@
|
||||
{ config, pkgs, lib, inputs, ... }:
|
||||
{ config, lib, inputs, ... }:
|
||||
with lib; {
|
||||
imports = [ ./theme.nix ];
|
||||
|
||||
options.neovim = {
|
||||
enable = lib.mkEnableOption "Enable Neovim";
|
||||
default = true;
|
||||
};
|
||||
config = {
|
||||
environment.systemPackages = [ inputs.neovim.packages.${pkgs.system}.neovim ];
|
||||
programs.neovim = {
|
||||
enable = config.neovim.enable;
|
||||
};
|
||||
# Import the theme module automatically if it's available
|
||||
# Installation de Neovim en tant que package système
|
||||
environment.systemPackages = [ neovim.packages.${pkgs.system}.neovim ];
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
imports = [ ./theme.nix ];
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user