Commit graph

48 commits

Author SHA1 Message Date
b6a0f95ee4 add devShell for ansible swarm 2024-03-02 14:46:10 +01:00
79669b27f8 change nixos -> nix 2024-03-02 14:03:27 +01:00
e80a3d65ac split flake into multiple parts 2024-03-02 13:58:17 +01:00
81b81695c2 use flake-utils to abstract cpu architectures in some places 2024-03-02 12:42:00 +01:00
f7b7009ab2 update documentation for running deploy-rs 2024-03-02 10:50:16 +01:00
074383b1e2 package boostrap program
remove devShell
2024-02-29 23:07:51 +01:00
0fe9aef9f5 add derived isPhysical and isVirtual values for machines 2024-02-29 20:51:52 +01:00
904098c877 rename machine type -> kind 2024-02-29 20:13:28 +01:00
e7f35bf1bd create module system for machines 2024-02-29 00:28:48 +01:00
735a8a0ddf skip deploy-rs flake check for architecture different from the
deployment machine
2024-02-28 21:39:23 +01:00
22c235f380 add documentation about broken flake checks 2024-02-27 23:31:48 +01:00
25937f535b integrate settings raspberry pi 2024-02-27 23:28:52 +01:00
1683c4caa8 deploy-rs works for raspberrypi 2024-02-27 20:14:53 +01:00
c2e2ed5ea8 WIP raspberry pi support 2024-02-26 23:08:12 +01:00
d6f1b42b9e remove kubenix 2024-02-11 14:56:20 +01:00
45b7cd5c6c automatically set host name 2024-01-28 14:08:28 +01:00
8e9d566d10 simplify flake functions 2024-01-28 13:57:36 +01:00
bd5dc4b883 set hostName and domain in nixos config directly 2024-01-28 12:55:58 +01:00
371b851ca5 create shared entrypoint nixos config for physical and vm 2024-01-28 12:30:13 +01:00
32154e7163 create shared nixos config between physical and VM
rename nixos -> nix
2024-01-28 12:06:30 +01:00
472175c5a3 integrate VM definitions 2024-01-28 11:48:13 +01:00
e57f80df82 add flake app to reboot vms on servers 2024-01-23 21:36:29 +01:00
390cc30173 copy microvm config 2024-01-17 21:28:15 +01:00
8ff86cc4b2 fix reboot reverting to old generation 2024-01-16 21:47:41 +01:00
62bbc7c13d use dns.nix voor zone file generation 2024-01-07 20:24:12 +01:00
6d258fe5ae restructure code 2023-12-29 12:47:59 +01:00
721623c8fc update to nixos 23.11
enable static IP for terraformed VMs
restructure legacy code
move hermes code to this repo
don't use data disk for hermes leases
2023-12-17 16:22:22 +01:00
04e9ce3abb create module for disk configuration 2023-12-16 23:47:18 +01:00
1e9a84f658 use kubenix to generate bootstrap k8s manifests
enable experimental features
2023-12-16 15:45:17 +01:00
06aa435612 Merge branch 'kubernetes' 2023-12-16 14:07:45 +01:00
b6a37eabbd parameterize fqdn for k3s SAN 2023-12-15 15:11:14 +01:00
1c0e4794a8 change k3s data dir to external disk
add additional SAN to k3s certificates
update README with k8s certificate instructions
open port for kubectl
2023-12-14 21:42:58 +01:00
4f41fd746a enable k3s cluster
add simple kubenix script
2023-11-29 10:02:50 +01:00
0bf113fa25 WIP: nixos-anywhere for virtual machines 2023-11-25 21:00:21 +01:00
51f84c42ba enable client certificate checking 2023-11-25 13:41:49 +01:00
0d316fe7d2 merge normal and hardware configuration 2023-11-22 18:54:05 +01:00
e19e738b04 create custom module system 2023-11-22 18:28:55 +01:00
730ae4c4f2 switch to flake version of nixos-anywhere due to nixos-unstable issue 2023-11-15 13:37:13 +01:00
8e6a40e878 fix formatter error 2023-11-15 13:10:27 +01:00
37f1e07e74 create helpers for creating nixos system and deploy nodes
move machine definitions to separate directory
2023-11-15 13:06:59 +01:00
3550a6e8a8 create top-level machine definition that is used by both deploy-rs and
nixos
rename bootstrap script
2023-11-15 12:55:57 +01:00
b4fbc0b955 improve nixos anywhere script:
- deploy age identity
- make script machine indepdendent
- add sanity check for wiping the system
create nix shell for running the script
2023-11-15 11:41:45 +01:00
022a6aabb4 remove ansible
deploy ssh host and user keys using agenix
deploy ssh certificates using ssh
2023-11-14 23:53:04 +01:00
dd8b23f5a9 initial nixos-anywhere 2023-11-13 22:44:43 +01:00
cf611e6362 remove nixpkgs overlay for deploy-rs 2023-11-12 14:15:21 +01:00
1faea2dd28 use deploy-rs
closes #2
2023-11-12 00:04:37 +01:00
397d6ab765 initial support for multiple servers 2023-11-05 20:11:51 +01:00
0ab4ba65c6 init 2023-11-05 18:43:32 +01:00