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

39 lines
976 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:30:05 +01:00
nixpkgs = {
type = "github";
owner = "NixOS";
repo = "nixpkgs";
ref = "nixos-unstable";
};
2023-12-06 10:21:07 +01:00
nixos-hardware.url = "github:nixos/nixos-hardware";
2024-01-09 17:02:32 +01:00
fernglas.url = "github:wobcom/fernglas";
2023-12-06 10:21:07 +01:00
};
2024-01-10 13:30:05 +01:00
outputs = { self, nixpkgs, nixos-hardware, fernglas, ... }@attrs: {
2024-01-09 15:46:18 +01:00
nixosConfigurations = {
web02 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
2024-01-09 15:50:20 +01:00
specialArgs = attrs;
2024-01-09 15:46:18 +01:00
modules = [
2024-01-09 17:02:32 +01:00
fernglas.nixosModules.default
2024-01-09 15:46:18 +01:00
./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
};
}