85 lines
2.3 KiB
Nix
85 lines
2.3 KiB
Nix
{
|
|
description = "stolen from neutralinsomniac's nix config";
|
|
|
|
inputs = {
|
|
### Build's broken.
|
|
nixpkgs.url = "nixpkgs/nixos-25.11";
|
|
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
|
|
|
|
nix-index-database.url = "github:nix-community/nix-index-database";
|
|
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
|
|
disko.url = "github:nix-community/disko";
|
|
disko.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
ke.url = "git+https://git.wntrmute.dev/kyle/ke";
|
|
ke.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
kte.url = "git+https://git.wntrmute.dev/kyle/kte";
|
|
kte.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
lector.url = "github:kisom/lector";
|
|
lector.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
sgard.url = "github:kisom/sgard";
|
|
sgard.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
arca.url = "git+https://git.wntrmute.dev/kyle/arca";
|
|
arca.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
cert.url = "github:kisom/cert";
|
|
cert.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
mcias.url = "git+https://git@git.wntrmute.dev/kyle/mcias.git";
|
|
|
|
mcr.url = "git+https://git@git.wntrmute.dev/kyle/mcr";
|
|
mcr.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
mc-proxy.url = "git+https://git@git.wntrmute.dev/kyle/mc-proxy";
|
|
mc-proxy.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
mcdeploy.url = "git+https://git@git.wntrmute.dev/kyle/mcdeploy";
|
|
mcdeploy.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
mcp.url = "git+https://git@git.wntrmute.dev/mc/mcp";
|
|
mcp.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
# exo.url = "git+https://git.wntrmute.dev/kyle/exo";
|
|
# exo.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
outputs = inputs@{
|
|
self,
|
|
nixpkgs,
|
|
nix-index-database,
|
|
...
|
|
}:
|
|
let
|
|
lib = nixpkgs.lib;
|
|
in {
|
|
nixosConfigurations = lib.genAttrs [
|
|
"imladris"
|
|
"ono-sendai"
|
|
"orion"
|
|
"rift"
|
|
"sk"
|
|
"vade"
|
|
] (hostName: lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
{ networking.hostName = hostName; }
|
|
inputs.disko.nixosModules.disko
|
|
./hw/${hostName}
|
|
./configuration.nix
|
|
nix-index-database.nixosModules.nix-index
|
|
{ programs.nix-index-database.comma.enable = true; }
|
|
{ system.configurationRevision = self.rev or "dirty"; }
|
|
];
|
|
});
|
|
};
|
|
}
|