mirror of
https://github.com/MagicBOTAlex/nixos-server.git
synced 2026-02-04 05:39:18 +01:00
kubernetes vm building
This commit is contained in:
parent
4e2d73d546
commit
376912c631
15 changed files with 319 additions and 15 deletions
11
flake.nix
11
flake.nix
|
|
@ -13,16 +13,23 @@
|
|||
url = "github:nix-community/nix-index-database";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
microvm = {
|
||||
url = "github:astro/microvm.nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
outputs = { self, nixpkgs, ... }@inputs: {
|
||||
outputs = { self, nixpkgs, microvm, ... }@inputs: {
|
||||
# configuration name matches hostname, so this system is chosen by default
|
||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
nixosConfigurations.botkube = nixpkgs.lib.nixosSystem {
|
||||
# pass along all the inputs and stuff to the system function
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
# import configuration
|
||||
./configuration.nix
|
||||
|
||||
inputs.microvm.nixosModules.host
|
||||
|
||||
# home manager part 2
|
||||
inputs.home-manager.nixosModules.default
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue