configuration.nix/default.nix
2024-06-21 20:15:45 +02:00

25 lines
672 B
Nix

top@{ inputs, ... }: {
imports = [ ./nixos ./home ];
systems = [ "x86_64-linux" ];
perSystem = perSystem@{ system, ... }: {
config._module.args = {
pkgs = import inputs.nixpkgs {
inherit system;
overlays = [
(final: prev: {
nvim = inputs.ide.nvim.${system}.standalone.default {
plugins.lsp.servers = {
bashls.enable = true;
nushell.enable = true;
};
};
scripts = (prev.buildEnv { name = "scripts"; paths = [ ./. ]; });
})
inputs.sal.overlays.default
];
};
stateVersion = "24.05";
};
};
}