mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
refactor: clean up flake outputs
This commit is contained in:
parent
437c83acc0
commit
7da0924d91
15 changed files with 233 additions and 203 deletions
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
inputs,
|
||||
system,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
|
|
@ -10,6 +12,21 @@
|
|||
kubeMasterHostname = "k8s.gensokyo.zone";
|
||||
kubeMasterAPIServerPort = 6443;
|
||||
in {
|
||||
# apply fix: https://github.com/NixOS/nixpkgs/pull/275896
|
||||
imports = let
|
||||
pkiModulePath = "services/cluster/kubernetes/pki.nix";
|
||||
inherit (inputs.self.legacyPackages.${system}) patchedNixpkgs;
|
||||
in [
|
||||
(_: {
|
||||
imports = [
|
||||
(patchedNixpkgs + "/nixos/modules/${pkiModulePath}")
|
||||
];
|
||||
disabledModules = [
|
||||
pkiModulePath
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
# packages for administration tasks
|
||||
environment.systemPackages = with pkgs; [
|
||||
kompose
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue