35 lines
1.1 KiB
Nix
35 lines
1.1 KiB
Nix
{
|
|
description = "nixos configs";
|
|
|
|
inputs = {
|
|
nixpkgs2305.url = "github:nixos/nixpkgs/nixos-23.05";
|
|
nixpkgs2211.url = "github:nixos/nixpkgs/nixos-22.11";
|
|
nixos-hardware.url = "github:nixos/nixos-hardware/master";
|
|
home-manager.url = "github:nix-community/home-manager/release-23.05";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs2305";
|
|
};
|
|
|
|
outputs = { self, nixpkgs2305, nixpkgs2211, nixos-hardware, home-manager, ... }: {
|
|
nixosConfigurations = {
|
|
pinwheel = nixpkgs2305.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
nixos-hardware.nixosModules.lenovo-thinkpad-x1-10th-gen
|
|
./hosts/pinwheel/configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.alex = import ./hosts/pinwheel/home.nix;
|
|
}
|
|
];
|
|
};
|
|
|
|
sombrero = nixpkgs2211.lib.nixosSystem {
|
|
system = "aarch64-linux";
|
|
modules = [ ./hosts/sombrero/configuration.nix ];
|
|
};
|
|
};
|
|
};
|
|
}
|