commit
fb523b4d27
13 changed files with 16 additions and 14 deletions
|
@ -139,7 +139,7 @@ $ inv setup-secret --hosts buildXX
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ nixos-generate-config --root /tmp
|
$ nixos-generate-config --root /tmp
|
||||||
# optional, in most cases one can import roles/hardware/hetzner-amd.nix
|
# optional, in most cases one can import roles/hetzner/amd.nix
|
||||||
$ scp buildXX.nix-community.org:/tmp/etc/nixos/hardware-configuration.nix buildXX/hardware-configuration.nix
|
$ scp buildXX.nix-community.org:/tmp/etc/nixos/hardware-configuration.nix buildXX/hardware-configuration.nix
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -11,10 +11,9 @@
|
||||||
# nixos-enter
|
# nixos-enter
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../roles/dev-packages.nix
|
|
||||||
../roles/common.nix
|
../roles/common.nix
|
||||||
../roles/hardware/hetzner-amd.nix
|
../roles/hetzner/amd.nix
|
||||||
../roles/hetzner-network.nix
|
../roles/hetzner/network.nix
|
||||||
../roles/raid.nix
|
../roles/raid.nix
|
||||||
../roles/builder
|
../roles/builder
|
||||||
../roles/remote-builder/aarch64-nixos-community.nix
|
../roles/remote-builder/aarch64-nixos-community.nix
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../roles/common.nix
|
../roles/common.nix
|
||||||
../roles/hardware/hetzner-amd.nix
|
../roles/hetzner/amd.nix
|
||||||
../roles/hetzner-network.nix
|
../roles/hetzner/network.nix
|
||||||
../roles/nginx.nix
|
../roles/nginx.nix
|
||||||
../roles/raid.nix
|
../roles/raid.nix
|
||||||
../roles/remote-builder/aarch64-build04.nix
|
../roles/remote-builder/aarch64-build04.nix
|
||||||
|
|
|
@ -11,16 +11,16 @@
|
||||||
# $ nixos-enter
|
# $ nixos-enter
|
||||||
imports = [
|
imports = [
|
||||||
../roles/common.nix
|
../roles/common.nix
|
||||||
../roles/hardware/hetzner-amd.nix
|
../roles/hetzner/amd.nix
|
||||||
|
../roles/hetzner/network.nix
|
||||||
../roles/hercules-ci
|
../roles/hercules-ci
|
||||||
../roles/hetzner-network.nix
|
|
||||||
../roles/nginx.nix
|
../roles/nginx.nix
|
||||||
../roles/raid.nix
|
../roles/raid.nix
|
||||||
../roles/remote-builder/aarch64-build04.nix
|
../roles/remote-builder/aarch64-build04.nix
|
||||||
|
|
||||||
../services/hound
|
../services/hound
|
||||||
../services/hydra
|
../services/hydra
|
||||||
../services/matterbridge.nix
|
../services/matterbridge
|
||||||
];
|
];
|
||||||
|
|
||||||
# /boot is a mirror raid
|
# /boot is a mirror raid
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../roles/common.nix
|
../roles/common.nix
|
||||||
../roles/hercules-ci
|
../roles/hercules-ci
|
||||||
../roles/builder.nix
|
../roles/remote-builder/user.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.system = "aarch64-linux";
|
nixpkgs.system = "aarch64-linux";
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
imports = [ ./users.nix ];
|
imports = [
|
||||||
|
./packages.nix
|
||||||
|
./users.nix
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,14 +3,14 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
./auto-upgrade.nix
|
||||||
./nix-daemon.nix
|
./nix-daemon.nix
|
||||||
./security.nix
|
./security.nix
|
||||||
|
./sops-nix.nix
|
||||||
./sshd.nix
|
./sshd.nix
|
||||||
./telegraf
|
./telegraf.nix
|
||||||
./users.nix
|
./users.nix
|
||||||
./zfs.nix
|
./zfs.nix
|
||||||
./sops-nix.nix
|
|
||||||
./auto-upgrade.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
|
|
Loading…
Add table
Reference in a new issue