{ description = "A very basic flake"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = { self, nixpkgs, ... } @ inputs: { nixosConfigurations.z790prors-nix = nixpkgs.lib.nixosSystem rec { system = "x86_64-linux"; modules = [ ./roles ./machines/z790prors/configuration.nix inputs.home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.users.johno = import ./home/home-z790prors.nix; home-manager.extraSpecialArgs = { customPkgs = nixpkgs.legacyPackages."${system}".callPackage ./packages {}; }; } ]; }; nixosConfigurations.nix-book = nixpkgs.lib.nixosSystem rec { system = "x86_64-linux"; modules = [ ./roles ./machines/nix-book/configuration.nix inputs.home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.users.johno = import ./home/home-nix-book.nix; home-manager.extraSpecialArgs = { customPkgs = nixpkgs.legacyPackages."${system}".callPackage ./packages {}; }; } ]; }; nixosConfigurations.boxy = nixpkgs.lib.nixosSystem rec { system = "x86_64-linux"; modules = [ ./roles ./machines/boxy/configuration.nix # inputs.home-manager.nixosModules.home-manager # { # home-manager.useGlobalPkgs = true; # home-manager.useUserPackages = true; # home-manager.users.johno = import ./home/home-default.nix; # home-manager.extraSpecialArgs = { # customPkgs = nixpkgs.legacyPackages."${system}".callPackage ./packages {}; # }; # } ]; }; }; }