36 lines
786 B
Nix
36 lines
786 B
Nix
{
|
|
description = "Jet's Nix Config";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
|
nixos-hardware.url = "nixos-hardware";
|
|
# nixos-raspberrypi.url = "github:ramblurr/nixos-raspberrypi";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
nixConfig = {
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
nixos-hardware,
|
|
home-manager,
|
|
...
|
|
} @ inputs: {
|
|
nixosConfigurations = {
|
|
laptop = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = {inherit inputs;};
|
|
modules = [
|
|
home-manager.nixosModules.home-manager
|
|
nixos-hardware.nixosModules.lenovo-thinkpad-x1-6th-gen
|
|
./laptop.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|