{ inputs = { nixpkgs = { # --- Official # type = "github"; # owner = "NixOS"; # repo = "nixpkgs"; # ref = "master"; # --- Fork type = "github"; owner = "karaolidis"; repo = "nixpkgs"; ref = "integration"; # --- Local # url = "git+file:./submodules/nixpkgs"; }; home-manager = { # --- Official # type = "github"; # owner = "nix-community" # repo = "home-manager"; # --- Fork type = "github"; owner = "karaolidis"; repo = "home-manager"; ref = "integration"; # --- Local # url = "git+file:./submodules/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; disko = { url = "github:nix-community/disko"; inputs.nixpkgs.follows = "nixpkgs"; }; sops-nix = { url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; nur = { url = "github:nix-community/NUR"; }; flake-utils = { url = "github:numtide/flake-utils"; }; astal = { url = "github:aylur/astal"; inputs.nixpkgs.follows = "nixpkgs"; }; ags = { url = "github:aylur/ags"; inputs.nixpkgs.follows = "nixpkgs"; }; spicetify-nix = { url = "github:Gerg-L/spicetify-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = { self, nixpkgs, ... }@inputs: { nixosConfigurations = { eirene = nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs; }; system = "x86_64-linux"; modules = [ ./hosts/eirene ]; }; elara = nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs; }; system = "x86_64-linux"; modules = [ ./hosts/elara ]; }; }; } // inputs.flake-utils.lib.eachDefaultSystem ( system: let pkgs = nixpkgs.legacyPackages.${system}; in { devShells = { bun = import ./hosts/common/system/shells/bun { inherit pkgs; }; nix = import ./hosts/common/system/shells/nix { inherit pkgs; }; nodejs = import ./hosts/common/system/shells/nodejs { inherit pkgs; }; python = import ./hosts/common/system/shells/python { inherit pkgs; }; }; formatter = pkgs.nixfmt-rfc-style; } ); }