main @ 32 LINES
[ HISTORY ] [ UP ]
┌─ NIX ──────────────────────────────────────────────────────────────────────┐
│ { │
│ 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/re │
│ ference-clients"; │
│ }; │
│ world = { │
│ enablePlayerSettings = 1; │
│ maxPlayerLevel = 60; │
│ startPlayerLevel = 60; │
│ rate.moveSpeed = { │
│ player = 1; │
│ }; │
│ }; │
│ }; │
│ }; │
│ } │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ NIX ────────────────────────────────┐
│ { │
│ lib, │
│ osConfig, │
│ config, │
│ inputs, │
│ ... │
│ }: let │
│ inherit (lib) mkIf elem; │
│ inherit (osConfig.ooknet.workstation) prof │
│ iles; │
│ in { │
│ imports = [ │
│ inputs.nixzeroth.homeModules.nixzeroth │
│ ]; │
│ │
│ config = mkIf (elem "gaming" profiles) { │
│ programs.nixzeroth = { │
│ enable = true; │
│ references = { │
│ clientsDir = "${config.home.homeDire │
│ ctory}/projects/nixzeroth/.internal/referenc │
│ e-clients"; │
│ }; │
│ world = { │
│ enablePlayerSettings = 1; │
│ maxPlayerLevel = 60; │
│ startPlayerLevel = 60; │
│ rate.moveSpeed = { │
│ player = 1; │
│ }; │
│ }; │
│ }; │
│ }; │
│ } │
└──────────────────────────────────────────────┘
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET