HASH 9011c54f0765
DATE 2026-06-04
SUBJECT nixzeroth: init
FILES 7 CHANGED
HASH 9011c54f0765
DATE 2026-06-04
SUBJECT nixzeroth: init
FILES 7 CHANGED
┌─ modules/home/nixos/gaming/nixzeroth/default.nix ──────────────────────────┐
│ diff --git a/modules/home/nixos/gaming/nixzeroth/default.nix b/modules/home/nixos/ │
│ gaming/nixzeroth/default.nix │
│ new file mode 100644 │
│ index 0000000..9f0990d │
│ --- /dev/null │
│ +++ b/modules/home/nixos/gaming/nixzeroth/default.nix │
│ @@ -0,0 +1,31 @@ │
│ +{ │
│ + lib, │
│ + osConfig, │
│ + config, │
│ + inputs, │
│ + ... │
│ +}: let │
│ + inherit (lib) mkIf elem; │
│ + inherit (osConfig.ooknet.workstation) profiles; │
│ +in { │
│ + imports = [ │
│ + inputs.nixzeroth.homeModules.nixzeroth │
│ + ]; │
│ + │
│ + config = mkIf (elem "gaming" profiles) { │
│ + programs.nixzeroth = { │
│ + enable = true; │
│ + references = { │
│ + clientsDir = "${config.home.homeDirectory}/projects/nixzeroth/.internal/r │
│ eference-clients"; │
│ + }; │
│ + world = { │
│ + enablePlayerSettings = 1; │
│ + maxPlayerLevel = 60; │
│ + startPlayerLevel = 60; │
│ + rate.moveSpeed = { │
│ + player = 1; │
│ + }; │
│ + }; │
│ + }; │
│ + }; │
│ +} │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ .../gaming/nixzeroth/default.nix ───┐
│ diff --git a/modules/home/nixos/gaming/nixze │
│ roth/default.nix b/modules/home/nixos/gaming │
│ /nixzeroth/default.nix │
│ new file mode 100644 │
│ index 0000000..9f0990d │
│ --- /dev/null │
│ +++ b/modules/home/nixos/gaming/nixzeroth/de │
│ fault.nix │
│ @@ -0,0 +1,31 @@ │
│ +{ │
│ + lib, │
│ + osConfig, │
│ + config, │
│ + inputs, │
│ + ... │
│ +}: let │
│ + inherit (lib) mkIf elem; │
│ + inherit (osConfig.ooknet.workstation) pro │
│ files; │
│ +in { │
│ + imports = [ │
│ + inputs.nixzeroth.homeModules.nixzeroth │
│ + ]; │
│ + │
│ + config = mkIf (elem "gaming" profiles) { │
│ + programs.nixzeroth = { │
│ + enable = true; │
│ + references = { │
│ + clientsDir = "${config.home.homeDir │
│ ectory}/projects/nixzeroth/.internal/referen │
│ ce-clients"; │
│ + }; │
│ + world = { │
│ + enablePlayerSettings = 1; │
│ + maxPlayerLevel = 60; │
│ + startPlayerLevel = 60; │
│ + rate.moveSpeed = { │
│ + player = 1; │
│ + }; │
│ + }; │
│ + }; │
│ + }; │
│ +} │
└──────────────────────────────────────────────┘
┌─ modules/nixos/workstation/gaming/default.nix ─────────────────────────────┐
│ diff --git a/modules/nixos/workstation/gaming/default.nix b/modules/nixos/workstat │
│ ion/gaming/default.nix │
│ index a6caf87..18f4200 100644 │
│ --- a/modules/nixos/workstation/gaming/default.nix │
│ +++ b/modules/nixos/workstation/gaming/default.nix │
│ @@ -6,5 +6,6 @@ │
│ ./emulation.nix │
│ ./esync.nix │
│ ./starcitizen.nix │
│ + ./nixzeroth │
│ ]; │
│ } │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...orkstation/gaming/default.nix ───┐
│ diff --git a/modules/nixos/workstation/gamin │
│ g/default.nix b/modules/nixos/workstation/ga │
│ ming/default.nix │
│ index a6caf87..18f4200 100644 │
│ --- a/modules/nixos/workstation/gaming/defau │
│ lt.nix │
│ +++ b/modules/nixos/workstation/gaming/defau │
│ lt.nix │
│ @@ -6,5 +6,6 @@ │
│ ./emulation.nix │
│ ./esync.nix │
│ ./starcitizen.nix │
│ + ./nixzeroth │
│ ]; │
│ } │
└──────────────────────────────────────────────┘
┌─ modules/nixos/workstation/gaming/nixzeroth/default.nix ───────────────────┐
│ diff --git a/modules/nixos/workstation/gaming/nixzeroth/default.nix b/modules/nixo │
│ s/workstation/gaming/nixzeroth/default.nix │
│ new file mode 100644 │
│ index 0000000..4c3a7ea │
│ --- /dev/null │
│ +++ b/modules/nixos/workstation/gaming/nixzeroth/default.nix │
│ @@ -0,0 +1,33 @@ │
│ +{ │
│ + lib, │
│ + config, │
│ + inputs, │
│ + ... │
│ +}: let │
│ + inherit (lib) mkIf elem; │
│ + inherit (config.ooknet.workstation) profiles; │
│ +in { │
│ + imports = [ │
│ + inputs.nixzeroth.nixosModules.nixzeroth │
│ + │
│ + ./world │
│ + ./modules │
│ + ]; │
│ + config = mkIf (elem "gaming" profiles) { │
│ + services.nixzeroth = { │
│ + enable = false; │
│ + dev = { │
│ + enable = true; │
│ + sourceTree = "/var/lib/nixzeroth/dev-source"; │
│ + repoPath = "/home/${config.ooknet.host.admin.name}/projects/nixzeroth"; │
│ + }; │
│ + openFirewall = true; │
│ + world = { │
│ + dataDir = "/var/lib/nixzeroth/client-data"; │
│ + }; │
│ + }; │
│ + │
│ + # nixzeroth CLI without sudo. │
│ + users.users.${config.ooknet.host.admin.name}.extraGroups = ["azerothcore"]; │
│ + }; │
│ +} │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ .../gaming/nixzeroth/default.nix ───┐
│ diff --git a/modules/nixos/workstation/gamin │
│ g/nixzeroth/default.nix b/modules/nixos/work │
│ station/gaming/nixzeroth/default.nix │
│ new file mode 100644 │
│ index 0000000..4c3a7ea │
│ --- /dev/null │
│ +++ b/modules/nixos/workstation/gaming/nixze │
│ roth/default.nix │
│ @@ -0,0 +1,33 @@ │
│ +{ │
│ + lib, │
│ + config, │
│ + inputs, │
│ + ... │
│ +}: let │
│ + inherit (lib) mkIf elem; │
│ + inherit (config.ooknet.workstation) profi │
│ les; │
│ +in { │
│ + imports = [ │
│ + inputs.nixzeroth.nixosModules.nixzeroth │
│ + │
│ + ./world │
│ + ./modules │
│ + ]; │
│ + config = mkIf (elem "gaming" profiles) { │
│ + services.nixzeroth = { │
│ + enable = false; │
│ + dev = { │
│ + enable = true; │
│ + sourceTree = "/var/lib/nixzeroth/de │
│ v-source"; │
│ + repoPath = "/home/${config.ooknet.h │
│ ost.admin.name}/projects/nixzeroth"; │
│ + }; │
│ + openFirewall = true; │
│ + world = { │
│ + dataDir = "/var/lib/nixzeroth/clien │
│ t-data"; │
│ + }; │
│ + }; │
│ + │
│ + # nixzeroth CLI without sudo. │
│ + users.users.${config.ooknet.host.admin. │
│ name}.extraGroups = ["azerothcore"]; │
│ + }; │
│ +} │
└──────────────────────────────────────────────┘
┌─ modules/nixos/workstation/gaming/nixzeroth/modules/challenge-modes.nix ───┐
│ diff --git a/modules/nixos/workstation/gaming/nixzeroth/modules/challenge-modes.ni │
│ x b/modules/nixos/workstation/gaming/nixzeroth/modules/challenge-modes.nix │
│ new file mode 100644 │
│ index 0000000..eebf879 │
│ --- /dev/null │
│ +++ b/modules/nixos/workstation/gaming/nixzeroth/modules/challenge-modes.nix │
│ @@ -0,0 +1,6 @@ │
│ +{ │
│ + services.nixzeroth.modules.challenge-modes = { │
│ + # only enabled to test deploying modules │
│ + enable = false; │
│ + }; │
│ +} │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...h/modules/challenge-modes.nix ───┐
│ diff --git a/modules/nixos/workstation/gamin │
│ g/nixzeroth/modules/challenge-modes.nix b/mo │
│ dules/nixos/workstation/gaming/nixzeroth/mod │
│ ules/challenge-modes.nix │
│ new file mode 100644 │
│ index 0000000..eebf879 │
│ --- /dev/null │
│ +++ b/modules/nixos/workstation/gaming/nixze │
│ roth/modules/challenge-modes.nix │
│ @@ -0,0 +1,6 @@ │
│ +{ │
│ + services.nixzeroth.modules.challenge-mode │
│ s = { │
│ + # only enabled to test deploying module │
│ s │
│ + enable = false; │
│ + }; │
│ +} │
└──────────────────────────────────────────────┘
┌─ modules/nixos/workstation/gaming/nixzeroth/modules/default.nix ───────────┐
│ diff --git a/modules/nixos/workstation/gaming/nixzeroth/modules/default.nix b/modu │
│ les/nixos/workstation/gaming/nixzeroth/modules/default.nix │
│ new file mode 100644 │
│ index 0000000..e611649 │
│ --- /dev/null │
│ +++ b/modules/nixos/workstation/gaming/nixzeroth/modules/default.nix │
│ @@ -0,0 +1,5 @@ │
│ +{ │
│ + imports = [ │
│ + ./challenge-modes.nix │
│ + ]; │
│ +} │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...nixzeroth/modules/default.nix ───┐
│ diff --git a/modules/nixos/workstation/gamin │
│ g/nixzeroth/modules/default.nix b/modules/ni │
│ xos/workstation/gaming/nixzeroth/modules/def │
│ ault.nix │
│ new file mode 100644 │
│ index 0000000..e611649 │
│ --- /dev/null │
│ +++ b/modules/nixos/workstation/gaming/nixze │
│ roth/modules/default.nix │
│ @@ -0,0 +1,5 @@ │
│ +{ │
│ + imports = [ │
│ + ./challenge-modes.nix │
│ + ]; │
│ +} │
└──────────────────────────────────────────────┘
┌─ modules/nixos/workstation/gaming/nixzeroth/world/default.nix ─────────────┐
│ diff --git a/modules/nixos/workstation/gaming/nixzeroth/world/default.nix b/module │
│ s/nixos/workstation/gaming/nixzeroth/world/default.nix │
│ new file mode 100644 │
│ index 0000000..9f86001 │
│ --- /dev/null │
│ +++ b/modules/nixos/workstation/gaming/nixzeroth/world/default.nix │
│ @@ -0,0 +1,5 @@ │
│ +{ │
│ + imports = [ │
│ + ./player.nix │
│ + ]; │
│ +} │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...g/nixzeroth/world/default.nix ───┐
│ diff --git a/modules/nixos/workstation/gamin │
│ g/nixzeroth/world/default.nix b/modules/nixo │
│ s/workstation/gaming/nixzeroth/world/default │
│ .nix │
│ new file mode 100644 │
│ index 0000000..9f86001 │
│ --- /dev/null │
│ +++ b/modules/nixos/workstation/gaming/nixze │
│ roth/world/default.nix │
│ @@ -0,0 +1,5 @@ │
│ +{ │
│ + imports = [ │
│ + ./player.nix │
│ + ]; │
│ +} │
└──────────────────────────────────────────────┘
┌─ modules/nixos/workstation/gaming/nixzeroth/world/player.nix ──────────────┐
│ diff --git a/modules/nixos/workstation/gaming/nixzeroth/world/player.nix b/modules │
│ /nixos/workstation/gaming/nixzeroth/world/player.nix │
│ new file mode 100644 │
│ index 0000000..57c9b80 │
│ --- /dev/null │
│ +++ b/modules/nixos/workstation/gaming/nixzeroth/world/player.nix │
│ @@ -0,0 +1,13 @@ │
│ +{ │
│ + services.nixzeroth.world = { │
│ + enablePlayerSettings = 1; │
│ + maxPlayerLevel = 60; │
│ + startPlayerLevel = 60; │
│ + rate = { │
│ + moveSpeed = { │
│ + # default movespeed │
│ + player = 1; │
│ + }; │
│ + }; │
│ + }; │
│ +} │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...ng/nixzeroth/world/player.nix ───┐
│ diff --git a/modules/nixos/workstation/gamin │
│ g/nixzeroth/world/player.nix b/modules/nixos │
│ /workstation/gaming/nixzeroth/world/player.n │
│ ix │
│ new file mode 100644 │
│ index 0000000..57c9b80 │
│ --- /dev/null │
│ +++ b/modules/nixos/workstation/gaming/nixze │
│ roth/world/player.nix │
│ @@ -0,0 +1,13 @@ │
│ +{ │
│ + services.nixzeroth.world = { │
│ + enablePlayerSettings = 1; │
│ + maxPlayerLevel = 60; │
│ + startPlayerLevel = 60; │
│ + rate = { │
│ + moveSpeed = { │
│ + # default movespeed │
│ + player = 1; │
│ + }; │
│ + }; │
│ + }; │
│ +} │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET