ui
This commit is contained in:
parent
eb820b6cdf
commit
96e37a78df
13
flake.nix
13
flake.nix
@ -20,6 +20,17 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, neovim, ... }@inputs: {
|
outputs = { self, nixpkgs, neovim, ... }@inputs: {
|
||||||
nixosModules.neovim = inputs.neovim.nixosModules.neovim;
|
nixosModules.neovim = { config, lib, ... }:
|
||||||
|
let
|
||||||
|
theme = "dracula"; # Change ici pour "gruvbox" ou autre
|
||||||
|
themePackage = {
|
||||||
|
"dracula" = inputs.plugin-dracula;
|
||||||
|
"gruvbox" = inputs.plugin-gruvbox;
|
||||||
|
"tokyonight" = null; # Pas de flake pour tokyonight
|
||||||
|
}.${theme} or null;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
environnement.systemPackages = inputs.neovim.nixosModules.neovim;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user