This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / flake.nix
1.7 kB 55 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 clan-core.url = "git+https://git.clan.lol/clan/clan-core"; 14 clan-core.inputs.nixpkgs.follows = "nixpkgs"; 15 clan-core.inputs.flake-parts.follows = "flake-parts"; 16 17 stockholm.url = "git+https://cgit.lassul.us/stockholm"; 18 # stockholm.url = "path:/home/lass/sync/stockholm"; 19 stockholm.inputs.nixpkgs.follows = "nixpkgs"; 20 21 # disko.url = "github:nix-community/disko/images"; 22 disko.url = "git+file:/home/lass/src/disko/"; 23 disko.inputs.nixpkgs.follows = "nixpkgs"; 24 }; 25 26 outputs = inputs@{ self, flake-parts, nixpkgs, clan-core, ... }: 27 let 28 clan = clan-core.lib.buildClan { 29 directory = self; 30 specialArgs.self = self; 31 machines = nixpkgs.lib.mapAttrs (machineName: _: { 32 33 imports = [ 34 ./nixos/machines/${machineName}/physical.nix 35 { 36 clanCore.machineName = machineName; 37 clanCore.secretStore = "password-store"; 38 krebs.secret.directory = "/etc/secrets"; 39 } 40 ]; 41 }) (builtins.readDir ./nixos/machines); 42 }; 43 in 44 flake-parts.lib.mkFlake { inherit inputs; } { 45 systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ]; 46 imports = [ 47 ./tools/nvim.nix 48 ./tools/astronvim/flake-module.nix 49 50 ./tools/zsh.nix 51 ]; 52 flake.nixosConfigurations = clan.nixosConfigurations; 53 flake.clanInternals = clan.clanInternals; 54 }; 55}