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

33 lines
857 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 = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
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
};
outputs = { self, nixpkgs, nixos-hardware, ... }@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
./config/lxc.nix
./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
};
}