diff --git a/README.md b/README.md index 82a756f..fdfe352 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ + + # iac Nix IaC diff --git a/flake.lock b/flake.lock index 9395380..5c05932 100644 --- a/flake.lock +++ b/flake.lock @@ -10,11 +10,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1754433428, - "narHash": "sha256-NA/FT2hVhKDftbHSwVnoRTFhes62+7dxZbxj5Gxvghs=", + "lastModified": 1762618334, + "narHash": "sha256-wyT7Pl6tMFbFrs8Lk/TlEs81N6L+VSybPfiIgzU8lbQ=", "owner": "ryantm", "repo": "agenix", - "rev": "9edb1787864c4f59ae5074ad498b6272b3ec308d", + "rev": "fcdea223397448d35d9b31f798479227e80183f6", "type": "github" }, "original": { @@ -86,33 +86,33 @@ }, "nixpkgs": { "locked": { - "lastModified": 1757810152, - "narHash": "sha256-Vp9K5ol6h0J90jG7Rm4RWZsCB3x7v5VPx588TQ1dkfs=", + "lastModified": 1764983851, + "narHash": "sha256-y7RPKl/jJ/KAP/VKLMghMgXTlvNIJMHKskl8/Uuar7o=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9a094440e02a699be5c57453a092a8baf569bdad", + "rev": "d9bc5c7dceb30d8d6fafa10aeb6aa8a48c218454", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-25.05", + "ref": "nixos-25.11", "repo": "nixpkgs", "type": "github" } }, "nixpkgs-k8s": { "locked": { - "lastModified": 1755247647, - "narHash": "sha256-7Yu6USLkeTh2nirvXCdBFrAWc1yGYDdFv2tvXKU14Po=", + "lastModified": 1763378238, + "narHash": "sha256-Q0rIDYv83RF5o5cm+JMCDAkWByNk8HMGgFDHjDTQc/I=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "4acc7f1d238d2b4f5d86bc65ca9b703d802e6e02", + "rev": "c05d8d4121d466c8a57b81130ba8ae7551d4f769", "type": "github" }, "original": { "owner": "NixOS", "repo": "nixpkgs", - "rev": "4acc7f1d238d2b4f5d86bc65ca9b703d802e6e02", + "rev": "c05d8d4121d466c8a57b81130ba8ae7551d4f769", "type": "github" } }, diff --git a/hosts/kaede/default.nix b/hosts/kaede/default.nix new file mode 100644 index 0000000..78cffc1 --- /dev/null +++ b/hosts/kaede/default.nix @@ -0,0 +1,16 @@ +{ ... }: + +{ + virtualisation = { + useEFIBoot = true; + libvirtd = { + enable = true; + nss.enableGuest = true; + startDelay = 1; + onShutdown = "shutdown"; + }; + }; + #rootDevice = "/dev/disk/by-label/nixos"; + #mountHostNixStore = true; +} + diff --git a/kubernauts.png b/kubernauts.png new file mode 100644 index 0000000..5c71af6 Binary files /dev/null and b/kubernauts.png differ diff --git a/nixosConfigurations.nix b/nixosConfigurations.nix index 90767ed..0c2b375 100644 --- a/nixosConfigurations.nix +++ b/nixosConfigurations.nix @@ -51,18 +51,7 @@ let in { "k8s" = mkSystem [ - # ./configuration.nix - { - virtualisation = { - useEFIBoot = true; - libvirtd = { - enable = true; - nss.enableGuest = true; - startDelay = 1; - onShutdown = "shutdown"; - }; - }; - } + # ./hosts/kaede/default,nix ]; "master-01" = mkControlPlaneNode [ ]; "master-02" = mkControlPlaneNode [ ]; diff --git a/services/etcd.nix b/services/etcd.nix new file mode 100644 index 0000000..1fe39da --- /dev/null +++ b/services/etcd.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: + +{ + services.etcd = { + enable = true + package = pkgs.etcd_3_6; + }; +} +