From 29eb9604e211d719ae321827058e133d7aa89f96 Mon Sep 17 00:00:00 2001 From: allthatjazzleo Date: Thu, 11 Jul 2024 02:22:17 +0800 Subject: [PATCH] update mantra user --- cells/homemanager/packages.nix | 3 +- cells/homemanager/programs/zsh.nix | 5 --- cells/users/users.nix | 10 +++-- flake.lock | 68 +++++++++++++++--------------- flake.nix | 2 +- 5 files changed, 43 insertions(+), 45 deletions(-) diff --git a/cells/homemanager/packages.nix b/cells/homemanager/packages.nix index 5595c58..d1c5d13 100644 --- a/cells/homemanager/packages.nix +++ b/cells/homemanager/packages.nix @@ -48,9 +48,8 @@ in { kustomize lorri nixfmt-classic - nodejs-18_x + nodejs-slim_18 operator-sdk - open-interpreter openssl_3_2 pkg-config poetry diff --git a/cells/homemanager/programs/zsh.nix b/cells/homemanager/programs/zsh.nix index 676ca6c..482ee85 100644 --- a/cells/homemanager/programs/zsh.nix +++ b/cells/homemanager/programs/zsh.nix @@ -44,11 +44,6 @@ }; history = {size = 100000;}; initExtraFirst = '' - # python - for dir in $(ls -rd $HOME/Library/Python/*); do - export PATH="$dir/bin:$PATH" - done - # End python # Cargo export PATH="$HOME/.cargo/bin:$PATH" # End Cargo diff --git a/cells/users/users.nix b/cells/users/users.nix index d1667a7..51d4b07 100644 --- a/cells/users/users.nix +++ b/cells/users/users.nix @@ -27,10 +27,12 @@ in { java = true; session_recording = false; }; - workuser = { - email = "xx@xxx.com"; + mantra = { + email = "leo.pang@mantra.finance"; + gitSigningKey = "682606AAB125FEB6"; name = "Leo Pang"; - username = "workuser"; - github_username = "xxx"; + username = "mantra"; + github_username = "allthatjazzleo"; + ageIdentityPaths = ["~/.ssh/id_ed25519_homemanager"]; }; } diff --git a/flake.lock b/flake.lock index 506dcf4..0cbe769 100644 --- a/flake.lock +++ b/flake.lock @@ -12,11 +12,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1716561646, - "narHash": "sha256-UIGtLO89RxKt7RF2iEgPikSdU53r6v/6WYB0RW3k89I=", + "lastModified": 1720546205, + "narHash": "sha256-boCXsjYVxDviyzoEyAk624600f3ZBo/DKtUdvMTpbGY=", "owner": "ryantm", "repo": "agenix", - "rev": "c2fc0762bbe8feb06a2e59a364fa81b3a57671c9", + "rev": "de96bd907d5fbc3b14fc33ad37d1b9a3cb15edc6", "type": "github" }, "original": { @@ -57,11 +57,11 @@ }, "cl-nix-lite": { "locked": { - "lastModified": 1709357207, - "narHash": "sha256-YZgXj6oL2Y/zDkSkGcoacpQPRLiYM8KeEB68CUs2irc=", + "lastModified": 1717972076, + "narHash": "sha256-hnZEsDInTcsVSL5LBGDAZegAxVLBus/wiJh+sNM15zU=", "owner": "hraban", "repo": "cl-nix-lite", - "rev": "f55d263b30a601b1b4dd61b7c8787e97510f4018", + "rev": "cc920bfb0a6402d3871f470c98d65266126973e4", "type": "github" }, "original": { @@ -183,11 +183,11 @@ "systems": "systems_3" }, "locked": { - "lastModified": 1709126324, - "narHash": "sha256-q6EQdSeUZOG26WelxqkmR7kArjgWCdw5sfJVHPH/7j8=", + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "d465f4819400de7c8d874d50b982301f28a84605", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { @@ -299,11 +299,11 @@ ] }, "locked": { - "lastModified": 1717931644, - "narHash": "sha256-Sz8Wh9cAiD5FhL8UWvZxBfnvxETSCVZlqWSYWaCPyu0=", + "lastModified": 1720470846, + "narHash": "sha256-7ftA4Bv5KfH4QdTRxqe8/Hz2YTKo+7IQ9n7vbNWgv28=", "owner": "nix-community", "repo": "home-manager", - "rev": "3d65009effd77cb0d6e7520b68b039836a7606cf", + "rev": "2fb5c1e0a17bc6059fa09dc411a43d75f35bb192", "type": "github" }, "original": { @@ -356,11 +356,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1710104942, - "narHash": "sha256-YrzF8P9Hi4CHky2z3hTKdPn/Zks+n4O4RkbSg75QhVc=", + "lastModified": 1719942949, + "narHash": "sha256-srSQac7dhXtisqu4XwPGrK8qcmT2rflJJ1mRIV9j0Qk=", "owner": "hraban", "repo": "mac-app-util", - "rev": "b2d3667f3b8d650310e55b38d3c4a5f35949e1f6", + "rev": "63f269f737cafb2219ba38780c1ecb1dc24bc4a2", "type": "github" }, "original": { @@ -491,41 +491,43 @@ }, "nixpkgs": { "locked": { - "lastModified": 1710066242, - "narHash": "sha256-bO7kahLdawW7rBqUTfWgf9mdPYrnOo5DGvWRJa9N8Do=", + "lastModified": 1717868076, + "narHash": "sha256-c83Y9t815Wa34khrux81j8K8ET94ESmCuwORSKm2bQY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "db339f1706f555794b71aa4eb26a5a240fb6a599", + "rev": "cd18e2ae9ab8e2a0a8d715b60c91b54c0ac35ff9", "type": "github" }, "original": { - "id": "nixpkgs", - "type": "indirect" + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "cd18e2ae9ab8e2a0a8d715b60c91b54c0ac35ff9", + "type": "github" } }, "nixpkgs-stable": { "locked": { - "lastModified": 1717880976, - "narHash": "sha256-BRvSCsKtDUr83NEtbGfHLUOdDK0Cgbezj2PtcHnz+sQ=", + "lastModified": 1720282526, + "narHash": "sha256-dudRkHPRivMNOhd04YI+v4sWvn2SnN5ODSPIu5IVbco=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "4913a7c3d8b8d00cb9476a6bd730ff57777f740c", + "rev": "550ac3e955c30fe96dd8b2223e37e0f5d225c927", "type": "github" }, "original": { "owner": "NixOS", - "ref": "release-23.11", + "ref": "release-24.05", "repo": "nixpkgs", "type": "github" } }, "nixpkgs_2": { "locked": { - "lastModified": 1717993691, - "narHash": "sha256-HAtytwSa6mIYa+anHBESJavmtLF4UoirmF/yomqxPRY=", + "lastModified": 1720590269, + "narHash": "sha256-U2p9zUR9J5DmW5DQyVBKRTW9FKIIqaLOQyMNknadpfE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "fcee4661a0a40d2f810526202a7a61c603f3f08f", + "rev": "0ca2f1e383a59007733868a651072b008aed2a6d", "type": "github" }, "original": { @@ -615,11 +617,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1717902109, - "narHash": "sha256-OQTjaEZcByyVmHwJlKp/8SE9ikC4w+mFd3X0jJs6wiA=", + "lastModified": 1720479166, + "narHash": "sha256-jqvhLDXzTLTHq9ZviFOpcTmXXmnbLfz7mWhgMNipMN4=", "owner": "Mic92", "repo": "sops-nix", - "rev": "f0922ad001829b400f0160ba85b47d252fa3d925", + "rev": "67035a355b1d52d2d238501f8cc1a18706979760", "type": "github" }, "original": { @@ -669,11 +671,11 @@ "yants": "yants" }, "locked": { - "lastModified": 1715201063, - "narHash": "sha256-LcLYV5CDhIiJs3MfxGZFKsXPR4PtfnY4toZ75GM+2Pw=", + "lastModified": 1720302576, + "narHash": "sha256-8HgfMr07vNTB2xp+vRBVmJ0A6ctX/oa/QqFBlqqmz4M=", "owner": "divnix", "repo": "std", - "rev": "b6924a7d37a46fc1dda8efe405040e27ecf1bbd6", + "rev": "4e20f558f00bc8d52b0fadc468b872d280ca2d34", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 3959390..35c58cc 100644 --- a/flake.nix +++ b/flake.nix @@ -65,6 +65,6 @@ { devShells = std.harvest self ["_automation" "devshells"]; homeConfigurations = - (std.pick self ["homemanager" "configurations"]).default; + (std.harvest self ["homemanager" "configurations"])."x86_64-darwin".default; }; }