From b237273a923f0353bd5bfb7e9a80f02f74723f67 Mon Sep 17 00:00:00 2001 From: Random936 Date: Thu, 19 Mar 2026 20:50:45 -0400 Subject: [PATCH] Renamed sampledb-dev to mnemosyne --- config/logging/prometheus.nix | 6 +++--- config/mnemosyne.nix | 15 +++++++++++++++ config/sampledb.nix | 15 --------------- flake.nix | 4 ++-- hardware/{sampledb.nix => mnemosyne.nix} | 0 home/modules/zsh.nix | 2 +- 6 files changed, 21 insertions(+), 21 deletions(-) create mode 100644 config/mnemosyne.nix delete mode 100644 config/sampledb.nix rename hardware/{sampledb.nix => mnemosyne.nix} (100%) diff --git a/config/logging/prometheus.nix b/config/logging/prometheus.nix index d788742..d8a8ddd 100644 --- a/config/logging/prometheus.nix +++ b/config/logging/prometheus.nix @@ -35,7 +35,7 @@ } { targets = [ "192.168.100.42:${node_port}" ]; - labels.instance = "sampledb-dev"; + labels.instance = "mnemosyne"; } { targets = [ "192.168.100.45:${node_port}" ]; @@ -82,11 +82,11 @@ } { targets = [ "192.168.100.42" ]; - labels.instance = "sampledb-dev"; + labels.instance = "mnemosyne"; } { targets = [ "192.168.100.42" ]; - labels.instance = "sampledb-dev"; + labels.instance = "mnemosyne"; } { targets = [ "192.168.100.45" ]; diff --git a/config/mnemosyne.nix b/config/mnemosyne.nix new file mode 100644 index 0000000..105ab6b --- /dev/null +++ b/config/mnemosyne.nix @@ -0,0 +1,15 @@ +{ config, pkgs, inputs, lib, ... }: { + + imports = [ + ../hardware/mnemosyne.nix + ./headless.nix + (import ./networking.nix { + hostname = "mnemosyne"; + ip_address = "192.168.100.42"; + open_ports = [ 80 443 ]; + inherit lib; + }) + ]; + + users.users.mnemosyne = import ./user.nix; +} diff --git a/config/sampledb.nix b/config/sampledb.nix deleted file mode 100644 index 0e12936..0000000 --- a/config/sampledb.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ config, pkgs, inputs, lib, ... }: { - - imports = [ - ../hardware/sampledb.nix - ./headless.nix - (import ./networking.nix { - hostname = "sampledb-dev"; - ip_address = "192.168.100.42"; - open_ports = [ 80 443 ]; - inherit lib; - }) - ]; - - users.users.sampledb = import ./user.nix; -} diff --git a/flake.nix b/flake.nix index a52634b..bbcf7c9 100644 --- a/flake.nix +++ b/flake.nix @@ -65,7 +65,7 @@ nixosConfigurations = { randomctf = mkNixosUnstableConfig "randomctf" [ ./config/shared.nix ./config/omen.nix ]; r330-media = mkNixosConfig "r330-media" [ ./config/media.nix ]; - sampledb-dev = mkNixosConfig "sampledb-dev" [ ./config/sampledb.nix ]; + mnemosyne = mkNixosConfig "mnemosyne" [ ./config/mnemosyne.nix ]; r330-logging = mkNixosConfig "r330-logging" [ ./config/logging.nix ]; mindforge = mkNixosConfig "mindforge" [ ./config/ai.nix ]; }; @@ -79,7 +79,7 @@ ./home/modules/hacking.nix ]; - sampledb = mkHomeConfig "sampledb" [ + mnemosyne = mkHomeConfig "mnemosyne" [ ./home/headless-nixos.nix ./home/modules/development.nix ]; diff --git a/hardware/sampledb.nix b/hardware/mnemosyne.nix similarity index 100% rename from hardware/sampledb.nix rename to hardware/mnemosyne.nix diff --git a/home/modules/zsh.nix b/home/modules/zsh.nix index 4c755b2..ee67d54 100644 --- a/home/modules/zsh.nix +++ b/home/modules/zsh.nix @@ -47,7 +47,7 @@ r730xd-proxmox = "ssh root@192.168.100.22"; r330-media = "ssh media@192.168.100.40"; r330-logging = "ssh logging@192.168.100.41"; - sampledb-dev = "ssh sampledb@192.168.100.42"; + mnemosyne = "ssh sampledb@192.168.100.42"; mindforge = "ssh mindforge@mindforge.randomctf.local"; # Nix Specific aliases