machines-config/flake.nix
Jakub Kropáček 08a7004dda bootstrapping
default bootstrap password

think this is required

pw update

pseudoterm

change pw
2025-01-02 16:59:07 +01:00

43 lines
900 B
Nix

{
description = "KropCloud system flakes";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
agenix = {
url = "github:ryantm/agenix";
inputs = {
nixpkgs.follows = "nixpkgs";
home-manager.follows = "";
darwin.follows = "";
};
};
};
outputs =
inputs@{ self, nixpkgs, ... }:
let
kclib = import ./lib.nix {
inputs = inputs;
};
in
{
nixosConfigurations = {
bootstrap = kclib.mkHost {
name = "bootstrap";
};
etcd0 = kclib.mkHost {
name = "etcd0";
};
hydra = kclib.mkHost {
name = "hydra";
};
};
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
};
}