358 current 2024-04-16 14:38:00 24.05.20240416.c04952a 6.8.4-zen1 *
This commit is contained in:
parent
76e98d422e
commit
38c95e923d
47 changed files with 1991 additions and 1876 deletions
18
flake.nix
18
flake.nix
|
|
@ -48,11 +48,14 @@
|
|||
rio-term = {
|
||||
url = "github:zackartz/rio";
|
||||
};
|
||||
|
||||
systems.url = "github:nix-systems/default";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
systems,
|
||||
...
|
||||
} @ inputs: let
|
||||
system = "x86_64-linux";
|
||||
|
|
@ -60,6 +63,11 @@
|
|||
overlays = [
|
||||
inputs.neovim-nightly-overlay.overlay
|
||||
];
|
||||
eachSystem = f:
|
||||
nixpkgs.lib.genAttrs (import systems) (
|
||||
system:
|
||||
f nixpkgs.legacyPackages.${system}
|
||||
);
|
||||
in {
|
||||
nixosConfigurations.earth = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs;};
|
||||
|
|
@ -68,5 +76,15 @@
|
|||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
};
|
||||
|
||||
devShells = eachSystem (pkgs: {
|
||||
default = pkgs.mkShell {
|
||||
buildInputs = [
|
||||
pkgs.nil
|
||||
pkgs.stylua
|
||||
pkgs.nodePackages.coc-sumneko-lua
|
||||
];
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue