forked from pub-solar/os
46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
{
|
|
self,
|
|
lib,
|
|
inputs,
|
|
...
|
|
}:
|
|
{
|
|
flake = {
|
|
nixosModules = rec {
|
|
overlays = (
|
|
{ ... }:
|
|
{
|
|
nixpkgs.overlays = [
|
|
(
|
|
final: prev:
|
|
let
|
|
unstable = import inputs.unstable {
|
|
system = prev.system;
|
|
config.allowUnfreePredicate =
|
|
pkg:
|
|
builtins.elem (prev.lib.getName pkg) [
|
|
"1password"
|
|
"1password-cli"
|
|
"slack"
|
|
];
|
|
};
|
|
in
|
|
{
|
|
#neovim-unwrapped = unstable.neovim-unwrapped;
|
|
#vimPlugins = unstable.vimPlugins;
|
|
#vimPlugins = prev.vimPlugins // {inherit (unstable.vimPlugins) nvim-lspconfig;};
|
|
}
|
|
)
|
|
(import ../pkgs)
|
|
(import ./blesh.nix)
|
|
(import ./nix-index.nix)
|
|
(import ./nixd.nix)
|
|
(import ./prr.nix)
|
|
(import ./neovim-plugins.nix)
|
|
];
|
|
}
|
|
);
|
|
};
|
|
};
|
|
}
|