Files
dotfiles/home/programs/neovim.nix
uttarayan21 99b4fb3ad1
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
chore(flake): update nixpkgs and stylix to 25.11, update dependencies and disable stylix for tsuba
2026-01-04 08:52:09 +05:30

25 lines
490 B
Nix

{
pkgs,
device,
stablePkgs,
lib,
...
}:
{
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;});
};
}
// lib.optionalAttrs (!(device.is "tsuba")) {
stylix.targets.nixvim.enable = false;
}