{ description = "snowhawk: a nixos configuration flake"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; neovim-overlay.url = "github:nix-community/neovim-nightly-overlay"; home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; fish_theme = { url = "git+https://git.zynh.me/Zynh0722/omf-theme"; flake = false; }; }; outputs = { self, nixpkgs, ... }@inputs: { nixosConfigurations = map ({ hostname, system }: { inherit system; specialArgs = { inherit inputs; }; modules = [ ./hosts/${hostname}/hardware-configuration.nix ./configuration.nix inputs.home-manager.nixosModules.default ]; }) [ { hostname = "snowhawk"; system = "x86_64-linux"; } { hostname = "sprite"; system = "aarch64-linux"; } { hostname = "nixos"; system = "x86_64-linux"; } ]; # { # snowhawk = nixpkgs.lib.nixosSystem { # specialArgs = { inherit inputs; }; # system = "x86_64-linux"; # modules = [ # ./hosts/snowhawk/hardware-configuration.nix # ./configuration.nix # inputs.home-manager.nixosModules.default # ]; # }; # sprite = nixpkgs.lib.nixosSystem { # specialArgs = { inherit inputs; }; # system = "aarch64-linux"; # modules = [ # ./hosts/sprite/hardware-configuration.nix # ./configuration.nix # inputs.home-manager.nixosModules.default # ]; # }; # nixos = nixpkgs.lib.nixosSystem { # specialArgs = { inherit inputs; }; # system = "x86_64-linux"; # modules = [ # ./hosts/nixos/hardware-configuration.nix # ./configuration.nix # inputs.home-manager.nixosModules.default # ]; # }; # }; }; }