2021-11-21 14:33:20 +01:00
|
|
|
{
|
2021-11-21 14:52:49 +01:00
|
|
|
description = "NixOS configuration";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/release-21.05";
|
|
|
|
nixos-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
|
|
|
|
home.url = "github:nix-community/home-manager/release-21.05";
|
|
|
|
home.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, home-manager, ... }: {
|
2021-11-21 14:33:20 +01:00
|
|
|
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
2021-11-21 14:52:49 +01:00
|
|
|
modules = [
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
./hardware/laptop.nix
|
|
|
|
./configuration.nix
|
|
|
|
];
|
2021-11-21 14:33:20 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|