This commit is contained in:
Arthur Wambst 2025-02-22 15:00:24 +01:00
parent e668be070b
commit 2e90995831
2 changed files with 7 additions and 5 deletions

View File

@ -185,11 +185,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1740231585, "lastModified": 1740232592,
"narHash": "sha256-ybJ20Qrwy7DehV9rPkVekGlMiCeYgjfl3ArVwuPOixM=", "narHash": "sha256-+a6IsO2z3Gq/52SCgQHX+yPpocBKKUogiIWDXBhwaBI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "00266d92665706645e97d9c7b5a6911bcb52c521", "rev": "d91510fa191473465fd66e61f1cd4a1f838ee649",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -5,9 +5,11 @@ with lib; {
enable = lib.mkEnableOption "Enable Neovim"; enable = lib.mkEnableOption "Enable Neovim";
default = true; default = true;
}; };
config = lib.mkIf config.nvim.enable { config = {
environment.systemPackages = [ inputs.neovim.packages.${pkgs.system}.neovim ]; environment.systemPackages = [ inputs.neovim.packages.${pkgs.system}.neovim ];
programs.neovim = {
enable = config.nvim.enable;
};
# Import the theme module automatically if it's available # Import the theme module automatically if it's available
}; };