2023-08-07 10:19:48 +02:00
|
|
|
{
|
|
|
|
inputs = {
|
2023-09-11 18:25:15 +02:00
|
|
|
nixpkgs.url = "nixpkgs";
|
2023-08-07 10:19:48 +02:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-11-01 19:02:35 +01:00
|
|
|
hosts = {
|
|
|
|
url = "github:StevenBlack/hosts";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-08-07 10:19:48 +02:00
|
|
|
};
|
|
|
|
|
2023-08-16 18:45:51 +02:00
|
|
|
outputs =
|
|
|
|
{ self
|
|
|
|
, nixpkgs
|
|
|
|
, home-manager
|
2023-11-01 19:02:35 +01:00
|
|
|
, hosts
|
2023-08-16 18:45:51 +02:00
|
|
|
, ...
|
2023-09-19 19:48:24 +02:00
|
|
|
}:
|
|
|
|
let system = "x86_64-linux"; in
|
|
|
|
{
|
2023-08-16 08:03:48 +02:00
|
|
|
nixosConfigurations = {
|
|
|
|
laptop = nixpkgs.lib.nixosSystem {
|
2023-09-19 19:48:24 +02:00
|
|
|
inherit system;
|
2023-08-16 08:03:48 +02:00
|
|
|
modules = [
|
2023-09-19 19:48:24 +02:00
|
|
|
./sys/laptop
|
2023-11-01 19:02:35 +01:00
|
|
|
hosts.nixosModule
|
2023-08-16 08:03:48 +02:00
|
|
|
];
|
|
|
|
};
|
2023-08-07 10:19:48 +02:00
|
|
|
};
|
2023-08-16 08:03:48 +02:00
|
|
|
homeConfigurations = {
|
|
|
|
ivand = home-manager.lib.homeManagerConfiguration {
|
2023-08-26 15:03:06 +02:00
|
|
|
extraSpecialArgs = { rootPath = ./.; };
|
2023-09-19 19:48:24 +02:00
|
|
|
modules = [
|
|
|
|
./home/laptop
|
|
|
|
];
|
2023-08-16 08:03:48 +02:00
|
|
|
pkgs = import nixpkgs {
|
2023-09-19 19:48:24 +02:00
|
|
|
inherit system;
|
2023-08-16 08:03:48 +02:00
|
|
|
};
|
|
|
|
};
|
2023-08-07 10:19:48 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|