This repository has no description
0

Configure Feed

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

superconfig / flake.nix
1.6 kB 48 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"; 22 disko.inputs.nixpkgs.follows = "nixpkgs"; 23 }; 24 25 outputs = inputs@{ self, flake-parts, nixpkgs, clan-core, ... }: 26 flake-parts.lib.mkFlake { inherit inputs; } { 27 systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ]; 28 imports = [ 29 ./tools/nvim.nix 30 ./tools/astronvim/flake-module.nix 31 32 ./tools/zsh.nix 33 ]; 34 flake.nixosConfigurations = nixpkgs.lib.mapAttrs (machineName: _: nixpkgs.lib.nixosSystem { 35 system = "x86_64-linux"; 36 specialArgs.self = self; 37 modules = [ 38 ./nixos/machines/${machineName}/physical.nix 39 clan-core.nixosModules.clanCore 40 { 41 clanCore.machineName = machineName; 42 clanCore.secretStore = "password-store"; 43 krebs.secret.directory = "/etc/secrets"; 44 } 45 ]; 46 }) (builtins.readDir ./nixos/machines); 47 }; 48}