Compare commits
No commits in common. "8fe2f766d66c3b0546ac33099d07e5f83e81e091" and "58e12507d2f49c2ff98ebe561acaac872849c171" have entirely different histories.
8fe2f766d6
...
58e12507d2
11
README.rst
11
README.rst
|
@ -8,14 +8,3 @@ https://reciproka.dev/reciproka/reciproka-ops
|
||||||
|
|
||||||
.. _Colmena: https://colmena.cli.rs/
|
.. _Colmena: https://colmena.cli.rs/
|
||||||
.. _Reciproka Kolektivo: https://reciproka.co/
|
.. _Reciproka Kolektivo: https://reciproka.co/
|
||||||
|
|
||||||
.. toctree::
|
|
||||||
|
|
||||||
Building for aarch64 Targets
|
|
||||||
----------------------------
|
|
||||||
|
|
||||||
If you don't have your own ``aarch64`` build server, you can apply to use the
|
|
||||||
`aarch64 build box`_ provided by the `Nix Community`_.
|
|
||||||
|
|
||||||
.. _aarch64 build box: https://github.com/NixOS/aarch64-build-box
|
|
||||||
.. _Nix Community: https://github.com/nix-community
|
|
||||||
|
|
|
@ -1,80 +0,0 @@
|
||||||
# Configuration common to all Raspberry Pi 3 Model B devices
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
boot = {
|
|
||||||
initrd = {
|
|
||||||
availableKernelModules = [
|
|
||||||
"bcm2835_dma" # Allows early (earlier) mode setting
|
|
||||||
"i2c_bcm2835" # Allows early (earlier) mode setting
|
|
||||||
"usbhid"
|
|
||||||
"usb_storage"
|
|
||||||
"vc4" # Allows early (earlier) mode setting
|
|
||||||
];
|
|
||||||
};
|
|
||||||
kernelPackages = pkgs.linuxPackages_5_15; # For a Raspberry Pi 2 or 3)
|
|
||||||
kernelParams = [
|
|
||||||
"cma=32M" # Needed for the virtual console to work on the RPi 3
|
|
||||||
"console=ttyS0,115200n8" # Enable the serial console
|
|
||||||
"console=tty0"
|
|
||||||
];
|
|
||||||
loader = {
|
|
||||||
generic-extlinux-compatible = {
|
|
||||||
enable = true; # Enables the generation of /boot/extlinux/extlinux.conf
|
|
||||||
};
|
|
||||||
grub = {
|
|
||||||
enable = false; # NixOS wants to enable GRUB by default.
|
|
||||||
};
|
|
||||||
raspberryPi = {
|
|
||||||
enable = false;
|
|
||||||
version = 3;
|
|
||||||
uboot.enable = true;
|
|
||||||
firmwareConfig = ''
|
|
||||||
arm_64bit=1 # Force kernel loading system to assume a 64-bit kernel
|
|
||||||
hdmi_force_hotplug=1 # Enable headless booting
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# File systems configuration for using the installer's partition layout
|
|
||||||
fileSystems = {
|
|
||||||
"/" = {
|
|
||||||
device = "/dev/disk/by-label/NIXOS_SD";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
"/boot/firmware" = {
|
|
||||||
device = "/dev/disk/by-label/FIRMWARE";
|
|
||||||
fsType = "vfat";
|
|
||||||
# Alternatively, this could be removed from the configuration.
|
|
||||||
# The filesystem is not needed at runtime, it could be treated
|
|
||||||
# as an opaque blob instead of a discrete FAT32 filesystem.
|
|
||||||
options = ["nofail" "noauto"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# !!! Adding a swap file is optional, but strongly recommended!
|
|
||||||
swapDevices = [
|
|
||||||
{
|
|
||||||
device = "/swapfile";
|
|
||||||
size = 1024;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
hardware = {
|
|
||||||
enableRedistributableFirmware = true; # Enable support for Pi firmware blobs
|
|
||||||
};
|
|
||||||
|
|
||||||
networking = {
|
|
||||||
enableB43Firmware = true; # If true, enable Pi wireless firmware
|
|
||||||
};
|
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true; # required by B34Firmare above
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
libraspberrypi # Userland tools for the Raspberry Pi board
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -1,86 +0,0 @@
|
||||||
# Configuration common to all Raspberry Pi 3 Model B devices
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
boot = {
|
|
||||||
initrd = {
|
|
||||||
availableKernelModules = [
|
|
||||||
"bcm2835_dma" # Allows early (earlier) mode setting
|
|
||||||
"i2c_bcm2835" # Allows early (earlier) mode setting
|
|
||||||
"usbhid"
|
|
||||||
"usb_storage"
|
|
||||||
"vc4" # Allows early (earlier) mode setting
|
|
||||||
];
|
|
||||||
};
|
|
||||||
kernelPackages = pkgs.linuxPackages_5_15; # For a Raspberry Pi 2 or 3)
|
|
||||||
kernelParams = [
|
|
||||||
"cma=320M" # Needed for the virtual console to work on the RPi 3
|
|
||||||
"console=ttyS0,115200n8" # Enable the serial console
|
|
||||||
"console=tty0"
|
|
||||||
];
|
|
||||||
loader = {
|
|
||||||
generic-extlinux-compatible = {
|
|
||||||
enable = true; # Enables the generation of /boot/extlinux/extlinux.conf
|
|
||||||
};
|
|
||||||
grub = {
|
|
||||||
enable = false; # NixOS wants to enable GRUB by default.
|
|
||||||
};
|
|
||||||
raspberryPi = {
|
|
||||||
enable = false;
|
|
||||||
version = 3;
|
|
||||||
uboot.enable = true;
|
|
||||||
firmwareConfig = ''
|
|
||||||
arm_64bit=1 # Force kernel loading system to assume a 64-bit kernel
|
|
||||||
display_auto_detect=1 # Enable auto detection of screen resolution
|
|
||||||
gpu_mem=128
|
|
||||||
hdmi_force_hotplug=1 # Enable headless booting
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# File systems configuration for using the installer's partition layout
|
|
||||||
fileSystems = {
|
|
||||||
"/" = {
|
|
||||||
device = "/dev/disk/by-label/NIXOS_SD";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
"/boot/firmware" = {
|
|
||||||
device = "/dev/disk/by-label/FIRMWARE";
|
|
||||||
fsType = "vfat";
|
|
||||||
# Alternatively, this could be removed from the configuration.
|
|
||||||
# The filesystem is not needed at runtime, it could be treated
|
|
||||||
# as an opaque blob instead of a discrete FAT32 filesystem.
|
|
||||||
options = ["nofail" "noauto"];
|
|
||||||
};
|
|
||||||
#"/var" = {
|
|
||||||
# device = "/dev/disk/by-label/var";
|
|
||||||
# fsType = "ext4";
|
|
||||||
#};
|
|
||||||
};
|
|
||||||
|
|
||||||
# !!! Adding a swap file is optional, but strongly recommended!
|
|
||||||
swapDevices = [
|
|
||||||
{
|
|
||||||
device = "/swapfile";
|
|
||||||
size = 1024;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
hardware = {
|
|
||||||
enableRedistributableFirmware = true; # Enable support for Pi firmware blobs
|
|
||||||
};
|
|
||||||
|
|
||||||
networking = {
|
|
||||||
enableB43Firmware = true; # If true, enable Pi wireless firmware
|
|
||||||
};
|
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true; # required by B34Firmare above
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
libraspberrypi # Userland tools for the Raspberry Pi board
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -1,14 +0,0 @@
|
||||||
# Configuration common to all my servers
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
environment = {
|
|
||||||
# Set the system-wide environment
|
|
||||||
systemPackages = with pkgs; [
|
|
||||||
usbutils # Tools for working with USB devices, such as lsusb
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,26 +0,0 @@
|
||||||
# NixOps configuration for the Raspberry Pi 3B Rack
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
<nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
|
||||||
../hardware/raspberry_pi_3_model_B.nix
|
|
||||||
../profiles/host_common.nix
|
|
||||||
../profiles/server_common.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
# Ensure the right package architecture is used
|
|
||||||
nixpkgs.localSystem = {
|
|
||||||
system = "aarch64-linux";
|
|
||||||
config = "aarch64-unknown-linux-gnu";
|
|
||||||
allowUnfree = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
systemd.network.networks.eth0.ipv6SendRAConfig = {
|
|
||||||
EmitDNS = true;
|
|
||||||
Managed = true;
|
|
||||||
OtherInformation = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
documentation = {
|
|
||||||
nixos.enable = false; # Save some space by disabling the manual
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,25 +0,0 @@
|
||||||
# NixOS configuration for flemming
|
|
||||||
#
|
|
||||||
# Andy Flemming, AKA Slackbastard is the psuedonym of an Australian anarchist
|
|
||||||
# who hosts Yeah Nah Pasaran on radio 3CR and documents fascism and its
|
|
||||||
# grave diggers in Australia
|
|
||||||
#
|
|
||||||
# https://en.wikipedia.org/wiki/Andy_Fleming_(activist)
|
|
||||||
# https://slackbastard.anarchobase.com/
|
|
||||||
# https://www.3cr.org.au/yeahnahpasaran
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
|
||||||
../../../networks/pi3B_rack.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
# Comment out deployment when building the SD Image.
|
|
||||||
deployment.targetHost = "10.42.0.202";
|
|
||||||
networking.hostName = "flemming"; # Define your hostname.
|
|
||||||
|
|
||||||
system.stateVersion = "23.11"; # The version of NixOS originally installed
|
|
||||||
}
|
|
|
@ -32,12 +32,6 @@ in {
|
||||||
overlays = [];
|
overlays = [];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
flemming = {
|
|
||||||
imports = [
|
|
||||||
./nixos/hosts/flemming
|
|
||||||
ragenix.nixosModules.default
|
|
||||||
];
|
|
||||||
};
|
|
||||||
toscano = {
|
toscano = {
|
||||||
imports = [
|
imports = [
|
||||||
./nixos/hosts/toscano/configuration.nix
|
./nixos/hosts/toscano/configuration.nix
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
# Set the defaul console properties
|
# Set the defaul console properties
|
||||||
console = {
|
console = {
|
||||||
keyMap = "us"; # Set the default console key map
|
keyMap = "us"; # Set the default console key map
|
||||||
font = "ter-powerline-v32n"; # Set the default console font
|
font = "ter-powerline-v16Rv"; # Set the default console font
|
||||||
};
|
};
|
||||||
|
|
||||||
time.timeZone = "Etc/UTC";
|
time.timeZone = "Etc/UTC";
|
||||||
|
|
|
@ -1,16 +1,14 @@
|
||||||
-----BEGIN AGE ENCRYPTED FILE-----
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IFAvWjlQZyBXZGxN
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IFAvWjlQZyBabmpl
|
||||||
eVRsL3QyT1BPc1dOWmt4Z213czlHV1gwV0JldkRQREZ1YkZtRjNnCm9yMlpSV1dK
|
K3V2ZWV4c2pXcmtHYlhPaWVTd0Z2UnUrRTU0UHJxSlNGVGxrMEFZCjdsNW1IQTZY
|
||||||
R2szbEtnQ2tUOXJzWGMyUk9BQldkbjVCa1RwejJ6U01JdGsKLT4gc3NoLWVkMjU1
|
VWR5MG9YbjlHVGk1OEFEbGthNXVsbkpHbnlyN0lOU3dxOWsKLT4gc3NoLWVkMjU1
|
||||||
MTkgUWQwZXBRIFJ0TmhHZHVqam1wWkFRbUFHSWFEYk9CbzVmWnYwUWtjZ3hsQ3Z5
|
MTkgZjVUaEFnIDIwdjFwUmc5dEhGdTd3WFdLMlJzN2NqQ1R1YWV2RXBwbTE5OU0x
|
||||||
Y1JYRDgKajR1a3Nnay9SeFlId2ZDTDd6VVNlZXRpY0h3cTh0R3ExUWRRcGovbVl3
|
Y3hHMDAKcFhOYjdDcncwTnplamd3UTlaWVFiMXBHTlpuNFVSa01iaER4amlhdHdR
|
||||||
cwotPiBzc2gtZWQyNTUxOSBm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XUjZRDuOvWxcvXw8
|
||||||
iPHgOccOAPoiDQTSOdGEm3H4k8we/HSfpW7cPowwExtQCK7PSs30XeJsg4o=
|
QbjtYbRJUZ+pFN445/awGVcZyMIE6KhrazU+WSU=
|
||||||
-----END AGE ENCRYPTED FILE-----
|
-----END AGE ENCRYPTED FILE-----
|
||||||
|
|
|
@ -1,18 +1,12 @@
|
||||||
# Used by ragenix nix only.
|
# Used by ragenix nix only.
|
||||||
# Ensure that $RULES has been set via direnv
|
# Ensure that $RULES has been set via direnv
|
||||||
# Edit a key: `agenix -i ~/.ssh/id_ed25519 -e secrets/someKey.age`
|
|
||||||
# run `ragenix -r -i /path/to/your/key` after modifying any keys below
|
|
||||||
#
|
|
||||||
# Re-keying is required after adding new hosts or keys:
|
|
||||||
# run `ragenix -r -i /path/to/your/key`
|
|
||||||
let
|
let
|
||||||
fiscalvelvetpoet = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJDMAhG6+40YiYy9wqruHK9M2fLwYAqikJSJ/pRjR/so";
|
fiscalvelvetpoet = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJDMAhG6+40YiYy9wqruHK9M2fLwYAqikJSJ/pRjR/so";
|
||||||
ops = [fiscalvelvetpoet];
|
ops = [fiscalvelvetpoet];
|
||||||
users = [fiscalvelvetpoet];
|
users = [fiscalvelvetpoet];
|
||||||
|
|
||||||
flemming = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK16f3Fjj0BY9vjtXahezMAP3I329hHEQXCceRTkr+Yu";
|
|
||||||
toscano = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGWcukRkNUQUbgXQle8q9xszDZOnDf3BVpPSFgycJVVE";
|
toscano = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGWcukRkNUQUbgXQle8q9xszDZOnDf3BVpPSFgycJVVE";
|
||||||
systems = [flemming toscano];
|
systems = [toscano];
|
||||||
in {
|
in {
|
||||||
"root.age".publicKeys = ops ++ systems;
|
"root.age".publicKeys = ops ++ systems;
|
||||||
"fiscalvelvetpoet.age".publicKeys = [fiscalvelvetpoet] ++ systems;
|
"fiscalvelvetpoet.age".publicKeys = [fiscalvelvetpoet] ++ systems;
|
||||||
|
|
Loading…
Reference in a new issue