infra/roles/kexec.nix
Jonas Chevalier 37e48b712e
move things around a bit ()
* keep ./services for instances

./profiles is for config-only modules

./services are like profiles, but configure a single instance of a
service. Those are fronted by Nginx as the load-balancer and have a DNS
entry as well.

* ci: build build03 as well

* move hydra to services

* move matterbridge to services

* move marvin-mk2 to services

* build01: share the remainder profiles

* build02: use the nix-community-cache

* fixup kexec

* rename profiles to roles

* README: sync with reality
2021-03-07 16:28:44 +00:00

23 lines
658 B
Nix

{ config, lib, pkgs, ... }:
# build with:
# nix-shell -p nixos-generators --run 'nixos-generate -o ./result -f kexec-bundle -c ./profiles/kexec.nix'
{
imports = [
./users.nix
./sshd.nix
];
}
# Hetzner bootstrap from rescue system
#
#useradd -m -s /bin/bash foo
#install -d -m700 -o foo /nix
#su - foo
#curl -L https://nixos.org/nix/install | bash
#. /home/foo/.nix-profile/etc/profile.d/nix.sh
#git clone https://github.com/nix-community/infra && cd infra
#nix-shell -p nixos-generators --run 'nixos-generate -o ./result -f kexec-bundle -c ./profiles/kexec.nix'
#exit
#/home/foo/infra/result
#after reboot:
#$ systemctl stop autoreboot.timer