{ description = "hheik NixOS configuration"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; home-manager.url = "github:nix-community/home-manager/release-23.05"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = inputs@{ self, nixpkgs, home-manager, ... }: let inherit (self) outputs; in rec { overlays = import ./overlays { inherit inputs; }; nixosConfigurations = { nixos = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ./configuration.nix home-manager.nixosModules.home-manager { # Disable to allow user user packages home-manager.useGlobalPkgs = false; # Necessary to use `nixos-rebuild build-vm` home-manager.useUserPackages = true; home-manager.users.hheikkinen = import ./home.nix; # Optionally, use home-manager.extraSpecialArgs to pass # arguments to home.nix home-manager.extraSpecialArgs = { inherit inputs outputs; }; } ]; }; }; }; }