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