mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-14 16:42:43 +02:00
docs: update docs, remove unused host - chiaya
This commit is contained in:
+4
-5
@@ -9,16 +9,15 @@
|
|||||||
3. `ruby`: Another NixOS VM running operation and maintenance related services, such as prometheus, grafana, restic, etc.
|
3. `ruby`: Another NixOS VM running operation and maintenance related services, such as prometheus, grafana, restic, etc.
|
||||||
4. `kana`: Yet another NixOS VM running some common applications, such as hompage, file browser, torrent downloader, etc.
|
4. `kana`: Yet another NixOS VM running some common applications, such as hompage, file browser, torrent downloader, etc.
|
||||||
3. Homelab:
|
3. Homelab:
|
||||||
1. `tailscale_gw`: A tailscale subnet router(gateway) for accessing my homelab remotely. NixOS VM running on Proxmox.
|
1. `tailscale-gw`: A tailscale subnet router(gateway) for accessing my homelab remotely. NixOS VM running on Proxmox.
|
||||||
4. `rolling_girls`: My RISCV64 hosts.
|
4. `rolling_girls`: My RISCV64 hosts.
|
||||||
1. `nozomi`: Lichee Pi 4A, TH1520(4xC910@2.0G), 8GB RAM + 32G eMMC + 64G SD Card.
|
1. `nozomi`: Lichee Pi 4A, TH1520(4xC910@2.0G), 16GB RAM + 32G eMMC + 128G SD Card.
|
||||||
2. `yukina`: Lichee Pi 4A(Internal Test Version), TH1520(4xC910@2.0G), 8GB RAM + 8G eMMC + 128G SD Card.
|
2. `yukina`: Milk-V Mars, JH7110(4xU74@1.5 GHz), 4G RAM + No eMMC + 64G SD Card.
|
||||||
3. `chiaya`: Milk-V Mars, JH7110(4xU74@1.5 GHz), 4G RAM + No eMMC + 64G SD Card.
|
|
||||||
5. `12kingdoms`:
|
5. `12kingdoms`:
|
||||||
1. `shoukei`: NixOS on Macbook Pro 2020 Intel i5, 13.3-inch, 16G RAM + 512G SSD.
|
1. `shoukei`: NixOS on Macbook Pro 2020 Intel i5, 13.3-inch, 16G RAM + 512G SSD.
|
||||||
1. `suzu`: Orange Pi 5, RK3588s(4xA76 + 4xA55), GPU(4Cores, Mail-G610), NPU(6Tops@int8), 8G RAM + 256G SSD.
|
1. `suzu`: Orange Pi 5, RK3588s(4xA76 + 4xA55), GPU(4Cores, Mail-G610), NPU(6Tops@int8), 8G RAM + 256G SSD.
|
||||||
1. `rakushun`: Orange Pi 5 Plus, RK3588(4xA76 + 4xA55), GPU(4Cores, Mail-G610), NPU(6Tops@int8), 16G RAM + 2T SSD.
|
1. `rakushun`: Orange Pi 5 Plus, RK3588(4xA76 + 4xA55), GPU(4Cores, Mail-G610), NPU(6Tops@int8), 16G RAM + 2T SSD.
|
||||||
6. `kubernetes`: My Kubernetes Cluster
|
6. `k8s`: My Kubernetes Clusters
|
||||||
|
|
||||||
## idols - Oshi no Ko
|
## idols - Oshi no Ko
|
||||||
|
|
||||||
|
|||||||
@@ -1,43 +0,0 @@
|
|||||||
{
|
|
||||||
# nixos-jh7110,
|
|
||||||
myvars,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Chiaya - NixOS Configuration for Milk-V Mars
|
|
||||||
#
|
|
||||||
# WIP, not working yet.
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
let
|
|
||||||
hostName = "chiaya"; # Define your hostname.
|
|
||||||
hostAddress = myvars.networking.hostAddress.${hostName};
|
|
||||||
in {
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
# Set static IP address / gateway / DNS servers.
|
|
||||||
networking = {
|
|
||||||
inherit hostName;
|
|
||||||
inherit (myvars.networking) defaultGateway nameservers;
|
|
||||||
|
|
||||||
# Failed to enable firewall due to the following error:
|
|
||||||
# firewall-start[2300]: iptables: Failed to initialize nft: Protocol not supported
|
|
||||||
firewall.enable = false;
|
|
||||||
networkmanager.enable = false;
|
|
||||||
# milkv-mars RJ45 port
|
|
||||||
interfaces.end0 = {
|
|
||||||
useDHCP = false;
|
|
||||||
ipv4.addresses = [hostAddress];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
|
||||||
# settings for stateful data, like file locations and database versions
|
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
|
||||||
# this value at the release version of the first install of this system.
|
|
||||||
# Before changing this value read the documentation for this option
|
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
|
||||||
system.stateVersion = "23.05"; # Did you read the comment?
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
# Flake Outputs
|
||||||
|
|
||||||
|
All the outputs of this flake are defined here.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
› tree
|
||||||
|
.
|
||||||
|
├── default.nix # The entry point, all the outputs are composed here.
|
||||||
|
├── README.md
|
||||||
|
├── aarch64-darwin # All outputs for macOS Apple Silicon
|
||||||
|
│ ├── default.nix # The entry point for all outputs for macOS Apple Silicon
|
||||||
|
│ └── src
|
||||||
|
│ └── fern.nix
|
||||||
|
├── aarch64-linux # All outputs for Linux ARM64
|
||||||
|
│ ├── default.nix
|
||||||
|
│ └── src
|
||||||
|
│ ├── 12kingdoms-rakushun.nix
|
||||||
|
│ └── 12kingdoms-suzu.nix
|
||||||
|
├── riscv64-linux # All outputs for Linux RISCV64
|
||||||
|
│ ├── default.nix
|
||||||
|
│ └── src
|
||||||
|
│ ├── rolling-girls-nozomi.nix
|
||||||
|
│ └── rolling-girls-yukina.nix
|
||||||
|
├── x86_64-darwin # All outputs for macOS Intel
|
||||||
|
│ ├── default.nix
|
||||||
|
│ └── src
|
||||||
|
│ └── harnomica.nix
|
||||||
|
└── x86_64-linux # All outputs for Linux x86_64
|
||||||
|
├── default.nix
|
||||||
|
├── src
|
||||||
|
│ ├── 12kindoms-shoukei.nix
|
||||||
|
│ ├── homelab-tailscale-gw.nix
|
||||||
|
│ ├── idols-ai.nix
|
||||||
|
│ ├── idols-aquamarine.nix
|
||||||
|
│ ├── idols-kana.nix
|
||||||
|
│ ├── idols-ruby.nix
|
||||||
|
│ ├── k3s-prod-1-master-1.nix
|
||||||
|
│ ├── k3s-prod-1-master-2.nix
|
||||||
|
│ ├── k3s-prod-1-master-3.nix
|
||||||
|
│ ├── k3s-prod-1-worker-1.nix
|
||||||
|
│ ├── k3s-prod-1-worker-2.nix
|
||||||
|
│ ├── k3s-prod-1-worker-3.nix
|
||||||
|
│ ├── kubevirt-shoryu.nix
|
||||||
|
│ ├── kubevirt-shushou.nix
|
||||||
|
│ └── kubevirt-youko.nix
|
||||||
|
└── tests
|
||||||
|
|
||||||
|
12 directories, 28 files
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user