This repository has no description
1.3 kB
41 lines
1{
2 description = "lassulus superconfig";
3
4 inputs = {
5 nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
6
7 nixvim.url = "github:nix-community/nixvim";
8 nixvim.inputs.nixpkgs.follows = "nixpkgs";
9
10 astro-nvim.url = "github:AstroNvim/AstroNvim";
11 astro-nvim.flake = false;
12 };
13
14 outputs = inputs@{ flake-parts, ... }:
15 flake-parts.lib.mkFlake { inherit inputs; } {
16 imports = [
17 # To import a flake module
18 # 1. Add foo to inputs
19 # 2. Add foo as a parameter to the outputs function
20 # 3. Add here: foo.flakeModule
21 ./tools/nvim.nix
22 ./tools/astronvim/flake-module.nix
23
24 ];
25 systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];
26 perSystem = { config, self', inputs', pkgs, system, ... }: {
27 # Per-system attributes can be defined here. The self' and inputs'
28 # module parameters provide easy access to attributes of the same
29 # system.
30
31 # Equivalent to inputs'.nixpkgs.legacyPackages.hello;
32 packages.default = pkgs.hello;
33 };
34 flake = {
35 # The usual flake attributes can be defined here, including system-
36 # agnostic ones like nixosModule and system-enumerating ones, although
37 # those are more easily expressed in perSystem.
38
39 };
40 };
41}