add github token
This commit is contained in:
parent
660f180b86
commit
e1f5467536
3 changed files with 19 additions and 14 deletions
17
justfile
17
justfile
|
@ -1,8 +1,9 @@
|
||||||
switch attic="false":
|
switch attic="false":
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
nix-channel --update
|
nix-channel --update --option access-tokens "github.com=$(gh auth token)"
|
||||||
nix flake update --flake ./nix/.
|
# https://github.com/NixOS/nix/issues/4653
|
||||||
sudo darwin-rebuild switch --verbose --flake ./nix/.
|
nix flake update --flake ./nix/. --option access-tokens "github.com=$(gh auth token)"
|
||||||
|
sudo darwin-rebuild switch --verbose --flake ./nix/. --option access-tokens "github.com=$(gh auth token)"
|
||||||
if [ "{{attic}}" = "true" ]; then
|
if [ "{{attic}}" = "true" ]; then
|
||||||
just attic
|
just attic
|
||||||
just clean
|
just clean
|
||||||
|
@ -10,8 +11,8 @@ switch attic="false":
|
||||||
|
|
||||||
update attic="false":
|
update attic="false":
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
nix-channel --update
|
nix-channel --update --option access-tokens "github.com=$(gh auth token)"
|
||||||
sudo darwin-rebuild switch --verbose --flake ./nix/.
|
sudo darwin-rebuild switch --verbose --flake ./nix/. --option access-tokens "github.com=$(gh auth token)"
|
||||||
if [ "{{attic}}" = "true" ]; then
|
if [ "{{attic}}" = "true" ]; then
|
||||||
just attic
|
just attic
|
||||||
just clean
|
just clean
|
||||||
|
@ -51,7 +52,6 @@ dot:
|
||||||
zed ~/.zshrc
|
zed ~/.zshrc
|
||||||
zed ~/.bashrc
|
zed ~/.bashrc
|
||||||
# https://github.com/NixOS/nix/issues/8254#issuecomment-1787238439
|
# https://github.com/NixOS/nix/issues/8254#issuecomment-1787238439
|
||||||
# https://github.com/NixOS/nix/issues/4653
|
|
||||||
zed ~/.config/nix/nix.conf
|
zed ~/.config/nix/nix.conf
|
||||||
zed ~/.gitconfig
|
zed ~/.gitconfig
|
||||||
zed ~/.config/jj/config.toml
|
zed ~/.config/jj/config.toml
|
||||||
|
@ -84,3 +84,8 @@ docker:
|
||||||
docker system prune -f -a
|
docker system prune -f -a
|
||||||
|
|
||||||
# docker run --rm --privileged -d --name buildkit moby/buildkit
|
# docker run --rm --privileged -d --name buildkit moby/buildkit
|
||||||
|
|
||||||
|
git_upstream:
|
||||||
|
git remote add upstream git@github.com:loco-rs/loco-openapi-Initializer.git
|
||||||
|
git remote set-branches upstream main
|
||||||
|
git fetch upstream main
|
||||||
|
|
12
nix/flake.lock
generated
12
nix/flake.lock
generated
|
@ -22,11 +22,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1754340878,
|
"lastModified": 1754393734,
|
||||||
"narHash": "sha256-lgmUyVQL9tSnvvIvBp7x1euhkkCho7n3TMzgjdvgPoU=",
|
"narHash": "sha256-fbnmAwTQkuXHKBlcL5Nq1sMAzd3GFqCOQgEQw6Hy0Ak=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "cab778239e705082fe97bb4990e0d24c50924c04",
|
"rev": "a683adc19ff5228af548c6539dbc3440509bfed3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -50,11 +50,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1754448563,
|
"lastModified": 1754575663,
|
||||||
"narHash": "sha256-JdgvzorJa4h2RSjIUj+rEYDCdQl1ubqoS8WebYJjQ2s=",
|
"narHash": "sha256-afOx8AG0KYtw7mlt6s6ahBBy7eEHZwws3iCRoiuRQS4=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "1bee06db858d83014983af40e9d1cfca96c32f7f",
|
"rev": "6db0fb0e9cec2e9729dc52bf4898e6c135bb8a0f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
# https://search.nixos.org/packages
|
# https://search.nixos.org/packages
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# keepassxc
|
# keepassxc
|
||||||
|
google-chrome
|
||||||
raycast
|
raycast
|
||||||
rclone
|
rclone
|
||||||
keka
|
keka
|
||||||
|
@ -61,7 +62,6 @@
|
||||||
jjui
|
jjui
|
||||||
gitbutler
|
gitbutler
|
||||||
btop
|
btop
|
||||||
# micro
|
|
||||||
just
|
just
|
||||||
hyperfine
|
hyperfine
|
||||||
cmake
|
cmake
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
# targets = [ "wasm32-unknown-unknown" ];
|
# targets = [ "wasm32-unknown-unknown" ];
|
||||||
# })
|
# })
|
||||||
|
|
||||||
# (pkgs.rust-bin.stable."1.87.0".default.override {
|
# (pkgs.rust-bin.stable."1.89.0".default.override {
|
||||||
# # extensions = [ "rustc-codegen-cranelift-preview" ];
|
# # extensions = [ "rustc-codegen-cranelift-preview" ];
|
||||||
# targets = [ "wasm32-unknown-unknown" ];
|
# targets = [ "wasm32-unknown-unknown" ];
|
||||||
# })
|
# })
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue