36 lines
906 B
Nix
36 lines
906 B
Nix
|
{
|
||
|
inputs = {
|
||
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||
|
home-manager = {
|
||
|
url = "github:nix-community/home-manager";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
impermanence.url = "github:nix-community/impermanence";
|
||
|
};
|
||
|
outputs = { self, nixpkgs, home-manager, impermanence }@inputs: {
|
||
|
nixosConfigurations = {
|
||
|
trantor = nixpkgs.lib.nixosSystem {
|
||
|
system = "x86_64-linux";
|
||
|
specialArgs.inputs = inputs;
|
||
|
|
||
|
modules = [
|
||
|
./trantor.nix
|
||
|
home-manager.nixosModules.home-manager
|
||
|
impermanence.nixosModules.impermanence
|
||
|
];
|
||
|
};
|
||
|
|
||
|
capibara = nixpkgs.lib.nixosSystem {
|
||
|
system = "x86_64-linux";
|
||
|
specialArgs.inputs = inputs;
|
||
|
|
||
|
modules = [
|
||
|
./capibara.nix
|
||
|
home-manager.nixosModules.home-manager
|
||
|
impermanence.nixosModules.impermanence
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|