2024-06-05 20:52:52 +02:00
|
|
|
{
|
|
|
|
description = "Nixos config flake";
|
|
|
|
|
|
|
|
inputs = {
|
2024-07-01 07:50:23 +02:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs";
|
2024-06-05 20:52:52 +02:00
|
|
|
nix-colors.url = "github:misterio77/nix-colors";
|
|
|
|
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2024-06-25 19:19:24 +02:00
|
|
|
outputs = { nixpkgs, home-manager, ... }@inputs: {
|
2024-06-05 20:52:52 +02:00
|
|
|
nixosConfigurations.pc = nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {inherit inputs;};
|
|
|
|
modules = [
|
|
|
|
./hosts/pc
|
|
|
|
];
|
|
|
|
};
|
|
|
|
nixosConfigurations.laptop = nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {inherit inputs;};
|
|
|
|
modules = [
|
|
|
|
./hosts/laptop
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|