Compare commits
No commits in common. "58f0189a6bd01878b1fdd4566d61f1992b84d0a1" and "f0d3993af51b97735e1a94c571c794b3486a2738" have entirely different histories.
58f0189a6b
...
f0d3993af5
3 changed files with 36 additions and 40 deletions
|
@ -47,11 +47,14 @@
|
||||||
pdfarranger
|
pdfarranger
|
||||||
picard
|
picard
|
||||||
pulsemixer
|
pulsemixer
|
||||||
|
python3
|
||||||
pwvucontrol
|
pwvucontrol
|
||||||
qbittorrent
|
qbittorrent
|
||||||
|
r2modman
|
||||||
radare2
|
radare2
|
||||||
ripgrep
|
ripgrep
|
||||||
rmpc
|
rmpc
|
||||||
|
ruby_3_2
|
||||||
signal-desktop
|
signal-desktop
|
||||||
starship
|
starship
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
|
@ -59,9 +62,11 @@
|
||||||
topiary
|
topiary
|
||||||
tor-browser
|
tor-browser
|
||||||
trash-cli
|
trash-cli
|
||||||
|
tutanota-desktop
|
||||||
typst
|
typst
|
||||||
vesktop
|
vesktop
|
||||||
vivid
|
vivid
|
||||||
|
wayneko
|
||||||
wireguard-tools
|
wireguard-tools
|
||||||
xdg-utils
|
xdg-utils
|
||||||
xournalpp
|
xournalpp
|
||||||
|
|
|
@ -186,19 +186,21 @@ $env.config.hooks = {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
pre_prompt: [
|
env_change: {
|
||||||
{||
|
PWD: [
|
||||||
if not ($env.PWD | path join .envrc | path exists) {
|
{||
|
||||||
return
|
if not ($env.PWD | path join .envrc | path exists) {
|
||||||
}
|
return
|
||||||
if (which direnv | is-empty) {
|
}
|
||||||
return
|
if (which direnv | is-empty) {
|
||||||
}
|
return
|
||||||
|
}
|
||||||
|
|
||||||
direnv export json | from json | default {} | load-env
|
direnv export json | from json | default {} | load-env
|
||||||
$env.PATH = $env.PATH | split row (char env_sep)
|
$env.PATH = $env.PATH | split row (char env_sep)
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let menus = [
|
let menus = [
|
||||||
|
@ -287,17 +289,6 @@ def switch [] {
|
||||||
nh os switch --file ($env.NH_FLAKE | path join default.nix) (open /etc/hostname | str trim)
|
nh os switch --file ($env.NH_FLAKE | path join default.nix) (open /etc/hostname | str trim)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
def --env y [...args] {
|
|
||||||
let tmp = (mktemp -t "yazi-cwd.XXXXXX")
|
|
||||||
yazi ...$args --cwd-file $tmp
|
|
||||||
let cwd = (open $tmp)
|
|
||||||
if $cwd != "" and $cwd != $env.PWD {
|
|
||||||
cd $cwd
|
|
||||||
}
|
|
||||||
rm -fp $tmp
|
|
||||||
}
|
|
||||||
|
|
||||||
# fix sudo by prepending /run/wrappers/bin to the PATH.
|
# fix sudo by prepending /run/wrappers/bin to the PATH.
|
||||||
$env.PATH = ($env.PATH | split row (char esep) | prepend '/run/wrappers/bin')
|
$env.PATH = ($env.PATH | split row (char esep) | prepend '/run/wrappers/bin')
|
||||||
$env.PATH = ($env.PATH | split row (char esep) | prepend '/etc/profiles/per-user/cr/bin')
|
$env.PATH = ($env.PATH | split row (char esep) | prepend '/etc/profiles/per-user/cr/bin')
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
},
|
},
|
||||||
"branch": "master",
|
"branch": "master",
|
||||||
"submodules": false,
|
"submodules": false,
|
||||||
"revision": "995b210e86c9d89cdabbdee622681389ce6c95ac",
|
"revision": "393f20bc8805730b8183460235f26ae3fc171509",
|
||||||
"url": "https://github.com/nix-community/comma/archive/995b210e86c9d89cdabbdee622681389ce6c95ac.tar.gz",
|
"url": "https://github.com/nix-community/comma/archive/393f20bc8805730b8183460235f26ae3fc171509.tar.gz",
|
||||||
"hash": "sha256-dNek1a8Yt3icWc8ZpVe1NGuG+eSoTDOmAAJbkYmMocU="
|
"hash": "sha256-OLerZuEhGTeSg7uiiEL+AV9iusBZLhwCx4pdYGTGRNU="
|
||||||
},
|
},
|
||||||
"flake-compat": {
|
"flake-compat": {
|
||||||
"type": "Git",
|
"type": "Git",
|
||||||
|
@ -62,9 +62,9 @@
|
||||||
},
|
},
|
||||||
"branch": "master",
|
"branch": "master",
|
||||||
"submodules": false,
|
"submodules": false,
|
||||||
"revision": "785a5701b22259b85735301b1aad19c2bee15498",
|
"revision": "4775927ef576f6493b79b1d205e42493d6878d47",
|
||||||
"url": "https://github.com/nix-community/lanzaboote/archive/785a5701b22259b85735301b1aad19c2bee15498.tar.gz",
|
"url": "https://github.com/nix-community/lanzaboote/archive/4775927ef576f6493b79b1d205e42493d6878d47.tar.gz",
|
||||||
"hash": "sha256-pZQyCkqIFwGA77np+vqVQZgg2P0qPAI6x6kC3w6+PjE="
|
"hash": "sha256-wGfVht5kOLc9t3GZxEr4IIq5QgHV6nB3w9qqhcVKloo="
|
||||||
},
|
},
|
||||||
"lix": {
|
"lix": {
|
||||||
"type": "Git",
|
"type": "Git",
|
||||||
|
@ -76,9 +76,9 @@
|
||||||
},
|
},
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"submodules": false,
|
"submodules": false,
|
||||||
"revision": "321807a40e1fdd44d950ff01746c95cb6e2eced3",
|
"revision": "ef94901156c0c688ffffaa2c5caf1498119f01d4",
|
||||||
"url": "https://git.lix.systems/lix-project/lix/archive/321807a40e1fdd44d950ff01746c95cb6e2eced3.tar.gz",
|
"url": "https://git.lix.systems/lix-project/lix/archive/ef94901156c0c688ffffaa2c5caf1498119f01d4.tar.gz",
|
||||||
"hash": "sha256-2sDX5Nv/DGIzZH+3pIlAUpZfVlMGz7Hl/mqHUaic+p8="
|
"hash": "sha256-fCaJ29ZqevsIT1yqbpgdKeYr5GHF6sDhHlcXo2m+VuI="
|
||||||
},
|
},
|
||||||
"lix-module": {
|
"lix-module": {
|
||||||
"type": "Git",
|
"type": "Git",
|
||||||
|
@ -103,9 +103,9 @@
|
||||||
},
|
},
|
||||||
"branch": "master",
|
"branch": "master",
|
||||||
"submodules": false,
|
"submodules": false,
|
||||||
"revision": "ec34a659652d98c225e2a97d100830365d7551c3",
|
"revision": "d9a869acec8dd35efa658234c158e6fc82e7064a",
|
||||||
"url": "https://github.com/nix-community/nh/archive/ec34a659652d98c225e2a97d100830365d7551c3.tar.gz",
|
"url": "https://github.com/nix-community/nh/archive/d9a869acec8dd35efa658234c158e6fc82e7064a.tar.gz",
|
||||||
"hash": "sha256-+MuFPjyJl3JbNVs3Xq9dATJEbEOvwF4LMUNMmmzO7mU="
|
"hash": "sha256-OIYIlXCYOHLvapwxKwX5nixMT1pf9hTx+/oWN9PHWPk="
|
||||||
},
|
},
|
||||||
"nil": {
|
"nil": {
|
||||||
"type": "Git",
|
"type": "Git",
|
||||||
|
@ -116,9 +116,9 @@
|
||||||
},
|
},
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"submodules": false,
|
"submodules": false,
|
||||||
"revision": "cd7a6f6d5dc58484e62a8e85677e06e47cf2bd4d",
|
"revision": "524ae2d67dd84d99a10f409ed6cd8e4e7b3cae3f",
|
||||||
"url": "https://github.com/oxalica/nil/archive/cd7a6f6d5dc58484e62a8e85677e06e47cf2bd4d.tar.gz",
|
"url": "https://github.com/oxalica/nil/archive/524ae2d67dd84d99a10f409ed6cd8e4e7b3cae3f.tar.gz",
|
||||||
"hash": "sha256-fK4INnIJQNAA8cyjcDRZSPleA+N/STI6I0oBDMZ2r+E="
|
"hash": "sha256-Uy2qzd+fMoBcp4NPSO7DavEC1pGMegmAqoEMvmXbIQU="
|
||||||
},
|
},
|
||||||
"niri": {
|
"niri": {
|
||||||
"type": "GitRelease",
|
"type": "GitRelease",
|
||||||
|
@ -155,8 +155,8 @@
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"type": "Channel",
|
"type": "Channel",
|
||||||
"name": "nixpkgs-unstable",
|
"name": "nixpkgs-unstable",
|
||||||
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-25.11pre836767.e44b8dc0882d/nixexprs.tar.xz",
|
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-25.11pre834687.6027c30c8e98/nixexprs.tar.xz",
|
||||||
"hash": "sha256-euf3HhNllLzdAjWqfM+sgM8WE8H8sl7O61LpjOxsQN8="
|
"hash": "sha256-Ba/cFHWBoCISrKBcqU8kH/8LJXYUj2kfFz7l7a7RwMU="
|
||||||
},
|
},
|
||||||
"npins": {
|
"npins": {
|
||||||
"type": "Git",
|
"type": "Git",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue