configuration.nix/default.nix

24 lines
626 B
Nix
Raw Normal View History

2024-06-12 23:19:58 +02:00
top@{ inputs, ... }: {
imports = [ ./nixos ./home ];
2024-06-10 22:41:40 +02:00
systems = [ "x86_64-linux" ];
2024-06-12 23:19:58 +02:00
perSystem = perSystem@{ system, ... }: {
config._module.args = {
pkgs = import inputs.nixpkgs {
inherit system;
overlays = [
(final: prev: {
nvim = inputs.ide.nvim.${system}.standalone {
plugins.lsp.servers = {
bashls.enable = true;
nushell.enable = true;
};
};
scripts = (prev.buildEnv { name = "scripts"; paths = [ ./. ]; });
})
];
};
stateVersion = "24.05";
};
2024-06-11 19:32:58 +02:00
};
2024-06-10 22:41:40 +02:00
}