{ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; home-manager.url = "github:nix-community/home-manager"; nvf.url = "path:./config/desktop/nvim"; }; outputs = { self, nixpkgs, home-manager, nvf, ... }@inputs: let system = "x86_64-linux"; in { nixosConfigurations = { # desktop darkstar = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs system; }; modules = [ nvf.nixosModules.default ./hosts/darkstar/configuration.nix home-manager.nixosModules.home-manager { home-manager = { useGlobalPkgs = true; useUserPackages = true; extraSpecialArgs = { inherit inputs; }; users.user = ./config/desktop/home/home.nix; }; } ]; }; # thinkpad t14 gen 2i molniya = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs system; }; modules = [ nvf.nixosModules.default ./hosts/molniya/configuration.nix home-manager.nixosModules.home-manager { home-manager = { useGlobalPkgs = true; useUserPackages = true; extraSpecialArgs = { inherit inputs; }; users.user = ./config/desktop/home/home.nix; }; } ]; }; # thinkpad t460 glonass = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs system; }; modules = [ nvf.nixosModules.default ./hosts/glonass/configuration.nix home-manager.nixosModules.home-manager { home-manager = { useGlobalPkgs = true; useUserPackages = true; extraSpecialArgs = { inherit inputs; }; users.user = ./config/desktop/home/home.nix; }; } ]; }; }; }; }