about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@roblox.com>2024-04-29 15:04:24 -0700
committerFranck Cuny <fcuny@roblox.com>2024-04-29 15:04:24 -0700
commitfb90e7296f00cd6a56ea77b5de81448135b71f63 (patch)
treeb1eb198e8b3e135c98faec4aaca4053c9cbb1683 /nix
parentignore all of github.rbx.com (diff)
downloadworld-fb90e7296f00cd6a56ea77b5de81448135b71f63.tar.gz
add `robloxenv` to manage hashi credentials
I never know how to get the credentials for some hashi components.
This script helps with getting the credentials I need at the edge.
Diffstat (limited to 'nix')
-rw-r--r--nix/flake/packages.nix3
-rw-r--r--nix/profiles/home-manager/shell.nix2
-rw-r--r--nix/profiles/home-manager/work.nix6
3 files changed, 8 insertions, 3 deletions
diff --git a/nix/flake/packages.nix b/nix/flake/packages.nix
index dddf4b5..4038107 100644
--- a/nix/flake/packages.nix
+++ b/nix/flake/packages.nix
@@ -11,11 +11,12 @@
     };
 
     packages = {
-      seqstat = pkgs.callPackage "${self}/packages/seqstat" { };
       git-blame-stats = pkgs.callPackage "${self}/packages/git-blame-stats" { };
       git-broom = pkgs.callPackage "${self}/packages/git-broom" { };
       ipconverter = pkgs.callPackage "${self}/packages/ipconverter" { };
       pizza = pkgs.callPackage "${self}/packages/pizza" { };
+      robloxenv = pkgs.callPackage "${self}/packages/robloxenv" { };
+      seqstat = pkgs.callPackage "${self}/packages/seqstat" { };
       slocalc = pkgs.callPackage "${self}/packages/slocalc" { };
     };
   };
diff --git a/nix/profiles/home-manager/shell.nix b/nix/profiles/home-manager/shell.nix
index bf63775..2c22880 100644
--- a/nix/profiles/home-manager/shell.nix
+++ b/nix/profiles/home-manager/shell.nix
@@ -30,9 +30,9 @@
     self.packages.${pkgs.system}.git-blame-stats
     self.packages.${pkgs.system}.git-broom
     self.packages.${pkgs.system}.ipconverter
+    self.packages.${pkgs.system}.pizza
     self.packages.${pkgs.system}.seqstat
     self.packages.${pkgs.system}.slocalc
-    self.packages.${pkgs.system}.pizza
   ];
 
   xdg = {
diff --git a/nix/profiles/home-manager/work.nix b/nix/profiles/home-manager/work.nix
index 0643426..56b4bb3 100644
--- a/nix/profiles/home-manager/work.nix
+++ b/nix/profiles/home-manager/work.nix
@@ -1,4 +1,4 @@
-{ ... }: {
+{ pkgs, self, ... }: {
 
   home.stateVersion = "23.05";
 
@@ -12,6 +12,10 @@
     ./zsh.nix
   ];
 
+  home.packages = with pkgs; [
+    self.packages.${pkgs.system}.robloxenv
+  ];
+
   programs.git = {
     userEmail = "fcuny@roblox.com";
   };