Files
dotfiles/home/programs/neovim.nix
uttarayan21 dcfe921975
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
feat: Added nvim to shiro
2025-12-03 01:29:53 +05:30

22 lines
442 B
Nix

{
pkgs,
device,
stablePkgs,
lib,
...
}: {
stylix.targets.nixvim.enable = false;
programs = lib.optionalAttrs (device.is "ryu" || device.is "kuro" || device.is "mirai" || device.is "tako" || device.is "shiro") {
nixvim =
{
enable = true;
nixpkgs = {
config = {
allowUnfree = true;
};
};
}
// (import ./../../neovim {inherit pkgs stablePkgs;});
};
}