feat(update): Use older command for updating flakes for nix-darwin
This commit is contained in:
2
flake.lock
generated
2
flake.lock
generated
@@ -1204,7 +1204,7 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1,
|
"lastModified": 1,
|
||||||
"narHash": "sha256-heUzzO+3EYA3BEgozgKom82zizXDrgydxpvqjGcLN9g=",
|
"narHash": "sha256-L54M7cDNrfMoILLy2Bc17srMWaNCQlc/46tAOyl4Qw8=",
|
||||||
"path": "./neovim",
|
"path": "./neovim",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
|
|||||||
8
justfile
8
justfile
@@ -3,7 +3,7 @@ set dotenv-load
|
|||||||
# clean := `git diff-index --quiet --cached HEAD --`
|
# clean := `git diff-index --quiet --cached HEAD --`
|
||||||
[macos]
|
[macos]
|
||||||
install: local
|
install: local
|
||||||
nix run nix-darwin -- switch --flake .
|
darwin-rebuild switch --flake .
|
||||||
|
|
||||||
[linux]
|
[linux]
|
||||||
install: local
|
install: local
|
||||||
@@ -16,9 +16,15 @@ build:
|
|||||||
home:
|
home:
|
||||||
nix --extra-experimental-features "nix-command flakes" run home-manager/master -- switch --flake . --show-trace
|
nix --extra-experimental-features "nix-command flakes" run home-manager/master -- switch --flake . --show-trace
|
||||||
|
|
||||||
|
[linux]
|
||||||
local:
|
local:
|
||||||
nix flake update subflakes
|
nix flake update subflakes
|
||||||
nix flake update neovim
|
nix flake update neovim
|
||||||
|
|
||||||
|
[macos]
|
||||||
|
local:
|
||||||
|
nix flake lock --update-input subflakes
|
||||||
|
nix flake lock --update-input neovim
|
||||||
|
|
||||||
nvim:
|
nvim:
|
||||||
nix run .#neovim
|
nix run .#neovim
|
||||||
|
|||||||
@@ -455,7 +455,7 @@ in rec {
|
|||||||
})
|
})
|
||||||
|
|
||||||
require('chatgpt').setup({
|
require('chatgpt').setup({
|
||||||
api_key_cmd = "rbw get platform.openai.com",
|
api_key_cmd = "${pkgs.rbw}/bin/rbw get platform.openai.com",
|
||||||
})
|
})
|
||||||
|
|
||||||
require('octo').setup({
|
require('octo').setup({
|
||||||
|
|||||||
Reference in New Issue
Block a user