1
0
Fork 0
forked from emily/nixfiles
nixfiles-emily/flake.nix

33 lines
886 B
Nix
Raw Normal View History

2023-12-06 10:21:07 +01:00
{
2024-01-09 15:46:18 +01:00
description = "emilys config hell";
2023-12-06 10:21:07 +01:00
inputs = {
2024-01-10 13:50:25 +01:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2023-12-06 10:21:07 +01:00
nixos-hardware.url = "github:nixos/nixos-hardware";
2024-01-11 12:43:58 +01:00
fernglas.url = "github:wobcom/fernglas";
2023-12-06 10:21:07 +01:00
};
2024-01-11 12:43:58 +01:00
outputs = { self, nixpkgs, nixos-hardware, fernglas, ... }@inputs: {
2024-01-09 15:46:18 +01:00
nixosConfigurations = {
web02 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
2024-01-11 09:58:07 +01:00
specialArgs = { inherit inputs; };
2024-01-09 15:46:18 +01:00
modules = [
./config/common
2024-01-10 13:30:05 +01:00
./config/common-lxc.nix
./config/common-nginx.nix
2024-01-09 15:46:18 +01:00
./config/hosts/web02/configuration.nix
];
};
2024-01-09 16:23:24 +01:00
# ryuuko = nixpkgs.lib.nixosSystem {
# system = "x86_64-linux";
# specialArgs = attrs;
# modules = [
# ./config/common
# ./config/x1.nix
# ./config/hosts/ryuuko/configuration.nix
# ];
# };
2024-01-09 15:46:18 +01:00
};
2023-12-06 10:21:07 +01:00
};
}