refactor(tailscale): update to use masterPkgs for tailscale

This commit is contained in:
uttarayan21
2025-11-22 19:24:29 +05:30
parent 819c444daf
commit a99cc07124
10 changed files with 182 additions and 207 deletions

View File

@@ -1,13 +1,20 @@
{pkgs, ...}: {
{
pkgs,
device,
lib,
...
}: {
stylix.targets.nixvim.enable = false;
programs.nixvim =
{
enable = true;
nixpkgs = {
config = {
allowUnfree = true;
programs = lib.optionalAttrs (device.is "ryu" || device.is "kuro" || device.is "mirai") {
nixvim =
{
enable = true;
nixpkgs = {
config = {
allowUnfree = true;
};
};
};
}
// (import ./../../neovim {inherit pkgs;});
}
// (import ./../../neovim {inherit pkgs;});
};
}