forked from emily/nixfiles
38 lines
1,019 B
Nix
38 lines
1,019 B
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";
|
|
fernglas = {
|
|
type = "github";
|
|
owner = "wobcom";
|
|
repo = "fernglas";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { nixpkgs, nixos-hardware, fernglas, ... }@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/web02/configuration.nix
|
|
];
|
|
};
|
|
# ryuuko = nixpkgs.lib.nixosSystem {
|
|
# system = "x86_64-linux";
|
|
# specialArgs = attrs;
|
|
# modules = [
|
|
# ./config/common
|
|
# ./config/x1.nix
|
|
# ./config/hosts/ryuuko/configuration.nix
|
|
# ];
|
|
# };
|
|
};
|
|
};
|
|
}
|