{ description = "Ray's Nix Config"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; disko.url = "github:nix-community/disko"; disko.inputs.nixpkgs.follows = "nixpkgs"; home-manager.url = "github:nix-community/home-manager"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; zen-browser.url = "github:0xc000022070/zen-browser-flake"; zen-browser.inputs.nixpkgs.follows = "nixpkgs"; ghostty.url = "github:ghostty-org/ghostty"; nix-index-database.url = "github:nix-community/nix-index-database"; nix-index-database.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { self, nixpkgs, home-manager, ... } @ inputs: let inherit (self) outputs; system = "x86_64-linux"; dots = "/home/rayandrew/dotfiles"; user = "rayandrew"; pkgs = import inputs.nixpkgs { inherit system; config.allowUnfree = true; }; lib = nixpkgs.lib; createCommonArgs = system: { inherit self inputs nixpkgs lib pkgs system dots ; specialArgs = { inherit self inputs; }; }; commonArgs = createCommonArgs system; in import ./hosts commonArgs // { # nixosConfigurations = { # pickwick = nixpkgs.lib.nixosSystem { # specialArgs = {inherit inputs outputs system dots user;}; # modules = [ # ./nixos # # ./nixos/configuration.nix # ./hosts/pickwick # inputs.disko.nixosModules.default # inputs.home-manager.nixosModules.home-manager # (nixpkgs.lib.mkAliasOptionModule [ "hm" ] [ # "home-manager" # "users" # user # ]) # ]; # }; # }; }; }