1
0
Fork 0
forked from emily/nixfiles
nixfiles-emily/flake.nix
2024-01-16 20:03:30 +01:00

50 lines
1.4 KiB
Nix

{
description = "emilys config hell";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:nixos/nixos-hardware";
fernglas.url = "github:wobcom/fernglas";
kyouma-www.url = "git+ssh://git@git.bsd.gay/snaki/kyouma-net.git";
};
outputs = { self, nixpkgs, nixos-hardware, fernglas, kyouma-www, ... }@inputs: {
colmena = {
meta = {
allowApplyAll = false;
nixpkgs = self.legacyPackages.x86_64-linux;
specialArgs = { inherit inputs; };
};
};
nixosConfigurations = {
web02 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./config/common
./config/common-lxc.nix
./config/common-nginx.nix
./config/hosts/web-dus/configuration.nix
];
};
crime = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
.config/common
.config/common-lxc.nix
.config/common-nginx.nix
.config/hosts/crime/configuration.nix
];
};
# ryuuko = nixpkgs.lib.nixosSystem {
# system = "x86_64-linux";
# specialArgs = attrs;
# modules = [
# ./config/common
# ./config/x1.nix
# ./config/hosts/ryuuko/configuration.nix
# ];
# };
};
};
}