{ description = "Moe.OS"; inputs = { nixpkgs.url = "nixpkgs/release-24.05"; nixpkgs-unstable.url = "nixpkgs/nixos-unstable"; home-manager.url = "github:nix-community/home-manager/release-24.05"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { self,nixpkgs,nixpkgs-unstable, home-manager, ...}: let lib = nixpkgs.lib; system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; pkgs-unstable = nixpkgs-unstable.legacyPackages.${system}; in { nixosConfigurations = { computer-mo = nixpkgs.lib.nixosSystem { inherit system; modules = [./configuration.nix]; specialArgs = { inherit pkgs-unstable; }; }; }; homeConfigurations = { mo = home-manager.lib.homeManagerConfiguration { inherit pkgs; modules = [./home.nix]; extraSpecialArgs = { inherit pkgs-unstable; }; }; }; }; }