2024-01-09 17:29:12 +00:00
|
|
|
{
|
|
|
|
description = "My nixos config as a flake";
|
|
|
|
|
|
|
|
|
|
|
|
inputs = {
|
2024-01-09 22:28:31 +00:00
|
|
|
nixpkgs.url = "nixpkgs/nixos-23.11";
|
2024-01-09 17:29:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2024-01-10 00:41:10 +00:00
|
|
|
outputs = { self, nixpkgs }@inputs:
|
2024-01-09 22:30:06 +00:00
|
|
|
let
|
2024-01-09 17:29:12 +00:00
|
|
|
lib = nixpkgs.lib;
|
|
|
|
in {
|
|
|
|
nixosConfigurations = {
|
|
|
|
|
|
|
|
nixos = lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = inputs;
|
|
|
|
modules = [
|
2024-01-10 00:41:10 +00:00
|
|
|
./hosts/nixos/configuration.nix
|
2024-01-09 17:29:12 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-01-10 23:07:25 +00:00
|
|
|
nixserver = lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = inputs;
|
|
|
|
modules = [
|
|
|
|
./hosts/nixserver/configuration.nix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-01-09 17:29:12 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|