1
1
Fork 0
nixos-configs/flake.nix

37 lines
1.0 KiB
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixos-wsl.url = "github:nix-community/NixOS-WSL";
nixos-wsl.inputs.nixpkgs.follows = "nixpkgs";
perimeter81.url = "git+file:///home/tvb/projects/perimeter81-nixos";
perimeter81.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, nixos-wsl, perimeter81 }: {
nixosConfigurations = {
catacomb = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
modules = [ ./machine/catacomb ];
};
empyrean = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./machine/empyrean ];
};
stagirite = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
nixos-wsl.nixosModules.wsl
./machine/stagirite
];
};
workeric = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./machine/workeric
perimeter81.nixosModules.default
];
};
};
};
}