Replies: 2 comments 1 reply
-
|
https://nixcats.org/nixCats_overriding.html You can override your packageDefinitions with Hopefully that is enough to get you started? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
With this: {
inputs,
system,
config,
lib,
namespace,
...
}:
with lib;
with lib.${namespace};
let
cfg = config.programs.terminal.tools.snowvim;
snowvim = inputs.snowvim.packages.${system}.default.override (prev: {
packageDefinitions = prev.packageDefinitions // {
snowvim =
inputs.snowvim.packages.${system}.default.utils.mergeCatDefs prev.packageDefinitions.snowvim
(
{ pkgs, ... }:
{
extra = {
colorscheme = {
name = "stylix";
translucent = config.stylix.targets.neovim.transparentBackground.main;
base16 = stylix16;
};
};
}
);
};
});
in
{
options.programs.terminal.tools.snowvim = with types; {
enable = mkBoolOpt false "enable snowvim";
};
config = mkIf cfg.enable {
home.packages = [ snowvim ];
};
}I am getting an error: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to set extras without using the nixos/home-manager module. My config https://github.com/lalit64/snowvim
Beta Was this translation helpful? Give feedback.
All reactions