From 9cbc12948959a7379101ede2c9bea75ae7fef3a9 Mon Sep 17 00:00:00 2001
From: 0xTux <0xtux@pm.me>
Date: Fri, 13 Sep 2024 21:18:55 +0530
Subject: [PATCH] change order of hosts
---
README.md | 20 +++++++++++++++-----
flake.nix | 38 +++++++++++++++++++-------------------
2 files changed, 34 insertions(+), 24 deletions(-)
diff --git a/README.md b/README.md
index e37ba29..466d7c4 100644
--- a/README.md
+++ b/README.md
@@ -11,6 +11,7 @@
## Table of Contents
+
- [Hosts](#hosts)
- [Installation](#installation)
- [Components](#components)
@@ -18,21 +19,24 @@
- [Pain](#spent-weeks-on-this-system-configuration-)
## Hosts
+
Currently there are 6 host's:
-1. **canopus:** Asus Zephyrus G15, powered by a Ryzen 9 5900HS and RTX 3060, optimized for productivity on the go.
-2. **sirius:** Multi-monitor desktop running Windows Subsystem for Linux, backed by a Ryzen 5 3600 (bottleneck ik) and RTX 3080 TI. This setup is utilized for both development and gaming.
+
+1. **sirius:** Multi-monitor desktop running Windows Subsystem for Linux, backed by a Ryzen 5 3600 (bottleneck ik) and RTX 3080 TI. This setup is utilized for both development and gaming.
+2. **canopus:** Asus Zephyrus G15, powered by a Ryzen 9 5900HS and RTX 3060, optimized for productivity on the go.
3. **arcturus:** Primary server responsible for exposing my homelab applications to the internet.
+
- Headscale
- Vaultwarden
- Gitea
- Grafana, Loki, Promtail
-
+
4. **alpha:** Monitors uptime and health status of all services across the infrastructure, ensuring reliable performance.
5. **homelab:** WIP, Migrating from unraid.
6. **node:** Secondary server dedicated to running Ethereum and BSC nodes. Currently in the process of migrating from Ubuntu.
-
## Installation
+
Hosts can be build with:
```
@@ -54,26 +58,32 @@ nh os switch -H
| Editor | / | Neovim |
## Showcase
+
### Desktop
+


### Neovim
+

### Floating Terminal
+

### Lazygit
+

### Telescope
+

### Firefox
-
+
## Spent weeks on this system configuration 😢
diff --git a/flake.nix b/flake.nix
index 05d6cac..a68f62a 100755
--- a/flake.nix
+++ b/flake.nix
@@ -46,25 +46,6 @@
# NixOS configuration entrypoint
# 'nixos-rebuild switch --flake .#your-hostname'
nixosConfigurations = {
- canopus = nixpkgs.lib.nixosSystem {
- specialArgs = {inherit inputs outputs username;};
- modules = [
- ./hosts/canopus
-
- home-manager.nixosModules.home-manager
- {
- home-manager.backupFileExtension = "backup";
- home-manager.useUserPackages = true;
- home-manager.extraSpecialArgs = {inherit inputs outputs username;};
- home-manager.users.${username} = {
- imports = [
- ./hosts/canopus/home.nix
- ];
- };
- }
- ];
- };
-
arcturus = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs outputs username;};
modules = [
@@ -84,6 +65,25 @@
];
};
+ canopus = nixpkgs.lib.nixosSystem {
+ specialArgs = {inherit inputs outputs username;};
+ modules = [
+ ./hosts/canopus
+
+ home-manager.nixosModules.home-manager
+ {
+ home-manager.backupFileExtension = "backup";
+ home-manager.useUserPackages = true;
+ home-manager.extraSpecialArgs = {inherit inputs outputs username;};
+ home-manager.users.${username} = {
+ imports = [
+ ./hosts/canopus/home.nix
+ ];
+ };
+ }
+ ];
+ };
+
alpha = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs outputs username;};
modules = [