32 lines
668 B
Nix
32 lines
668 B
Nix
{
|
|
description = "Nixos config flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs";
|
|
nix-colors.url = "github:misterio77/nix-colors";
|
|
ags.url = "github:Aylur/ags";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
};
|
|
|
|
outputs = { nixpkgs, home-manager, ... }@inputs: {
|
|
nixosConfigurations.pc = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {inherit inputs;};
|
|
modules = [
|
|
./hosts/pc
|
|
];
|
|
};
|
|
nixosConfigurations.laptop = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {inherit inputs;};
|
|
modules = [
|
|
./hosts/laptop
|
|
];
|
|
};
|
|
};
|
|
}
|
|
|