{ description = "NixOS flake"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs"; home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = inputs@{ nixpkgs, home-manager, ... }: let system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; config.allowUnfree = true; }; in { nixosConfigurations.maia = nixpkgs.lib.nixosSystem { inherit system pkgs; specialArgs = { inherit nixpkgs home-manager ; }; modules = [ ./configuration.nix ./hardware-configuration.nix ./home.nix inputs.home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; } ]; }; }; }