2023-01-20 20:21:16 +01:00
|
|
|
{
|
|
|
|
description = "Felixalb System flake";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11-small";
|
|
|
|
unstable.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
|
|
|
|
2023-04-15 20:44:47 +02:00
|
|
|
sops-nix.url = "github:Mic92/sops-nix";
|
|
|
|
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
|
2023-01-20 20:21:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, unstable, sops-nix, ... }@inputs:
|
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
nixosConfigurations = {
|
2023-04-15 20:44:47 +02:00
|
|
|
voyager = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = {
|
|
|
|
inherit inputs;
|
|
|
|
};
|
|
|
|
modules = [
|
|
|
|
./hosts/voyager/configuration.nix
|
|
|
|
sops-nix.nixosModules.sops
|
|
|
|
];
|
|
|
|
};
|
2023-01-20 20:21:16 +01:00
|
|
|
chapel = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = {
|
|
|
|
inherit inputs;
|
|
|
|
};
|
|
|
|
modules = [
|
|
|
|
./hosts/chapel/configuration.nix
|
2023-04-15 20:44:47 +02:00
|
|
|
sops-nix.nixosModules.sops
|
2023-01-20 20:21:16 +01:00
|
|
|
];
|
|
|
|
};
|
2023-03-01 12:29:05 +01:00
|
|
|
redshirt = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = {
|
|
|
|
inherit inputs;
|
|
|
|
};
|
|
|
|
modules = [
|
|
|
|
./hosts/chapel/configuration.nix
|
|
|
|
];
|
|
|
|
};
|
2023-01-20 20:21:16 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|