Compare commits

...

3 commits

Author SHA1 Message Date
faukah
58f0189a6b temperance: clean up programs
Signed-off-by: faukah <fau@faukah.com>
Change-Id: I6a6a6964d0d546be1fb6aaf4867b10f774e41b4d
2025-08-01 12:29:01 +02:00
faukah
73018dad32 nushell: update config
Signed-off-by: faukah <fau@faukah.com>
Change-Id: I6a6a69644bbbc510b04f6eea9b642b58fa2f2aa5
2025-08-01 12:28:48 +02:00
faukah
1c7b2b348a npins: update sources 2025-08-01 12:28:28 +02:00
3 changed files with 40 additions and 36 deletions

View file

@ -47,14 +47,11 @@
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
@ -62,11 +59,9 @@
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

View file

@ -186,8 +186,7 @@ $env.config.hooks = {
} }
] ]
env_change: { pre_prompt: [
PWD: [
{|| {||
if not ($env.PWD | path join .envrc | path exists) { if not ($env.PWD | path join .envrc | path exists) {
return return
@ -201,7 +200,6 @@ $env.config.hooks = {
} }
] ]
} }
}
let menus = [ let menus = [
{ {
@ -289,6 +287,17 @@ 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')

View file

@ -9,9 +9,9 @@
}, },
"branch": "master", "branch": "master",
"submodules": false, "submodules": false,
"revision": "393f20bc8805730b8183460235f26ae3fc171509", "revision": "995b210e86c9d89cdabbdee622681389ce6c95ac",
"url": "https://github.com/nix-community/comma/archive/393f20bc8805730b8183460235f26ae3fc171509.tar.gz", "url": "https://github.com/nix-community/comma/archive/995b210e86c9d89cdabbdee622681389ce6c95ac.tar.gz",
"hash": "sha256-OLerZuEhGTeSg7uiiEL+AV9iusBZLhwCx4pdYGTGRNU=" "hash": "sha256-dNek1a8Yt3icWc8ZpVe1NGuG+eSoTDOmAAJbkYmMocU="
}, },
"flake-compat": { "flake-compat": {
"type": "Git", "type": "Git",
@ -62,9 +62,9 @@
}, },
"branch": "master", "branch": "master",
"submodules": false, "submodules": false,
"revision": "4775927ef576f6493b79b1d205e42493d6878d47", "revision": "785a5701b22259b85735301b1aad19c2bee15498",
"url": "https://github.com/nix-community/lanzaboote/archive/4775927ef576f6493b79b1d205e42493d6878d47.tar.gz", "url": "https://github.com/nix-community/lanzaboote/archive/785a5701b22259b85735301b1aad19c2bee15498.tar.gz",
"hash": "sha256-wGfVht5kOLc9t3GZxEr4IIq5QgHV6nB3w9qqhcVKloo=" "hash": "sha256-pZQyCkqIFwGA77np+vqVQZgg2P0qPAI6x6kC3w6+PjE="
}, },
"lix": { "lix": {
"type": "Git", "type": "Git",
@ -76,9 +76,9 @@
}, },
"branch": "main", "branch": "main",
"submodules": false, "submodules": false,
"revision": "ef94901156c0c688ffffaa2c5caf1498119f01d4", "revision": "321807a40e1fdd44d950ff01746c95cb6e2eced3",
"url": "https://git.lix.systems/lix-project/lix/archive/ef94901156c0c688ffffaa2c5caf1498119f01d4.tar.gz", "url": "https://git.lix.systems/lix-project/lix/archive/321807a40e1fdd44d950ff01746c95cb6e2eced3.tar.gz",
"hash": "sha256-fCaJ29ZqevsIT1yqbpgdKeYr5GHF6sDhHlcXo2m+VuI=" "hash": "sha256-2sDX5Nv/DGIzZH+3pIlAUpZfVlMGz7Hl/mqHUaic+p8="
}, },
"lix-module": { "lix-module": {
"type": "Git", "type": "Git",
@ -103,9 +103,9 @@
}, },
"branch": "master", "branch": "master",
"submodules": false, "submodules": false,
"revision": "d9a869acec8dd35efa658234c158e6fc82e7064a", "revision": "ec34a659652d98c225e2a97d100830365d7551c3",
"url": "https://github.com/nix-community/nh/archive/d9a869acec8dd35efa658234c158e6fc82e7064a.tar.gz", "url": "https://github.com/nix-community/nh/archive/ec34a659652d98c225e2a97d100830365d7551c3.tar.gz",
"hash": "sha256-OIYIlXCYOHLvapwxKwX5nixMT1pf9hTx+/oWN9PHWPk=" "hash": "sha256-+MuFPjyJl3JbNVs3Xq9dATJEbEOvwF4LMUNMmmzO7mU="
}, },
"nil": { "nil": {
"type": "Git", "type": "Git",
@ -116,9 +116,9 @@
}, },
"branch": "main", "branch": "main",
"submodules": false, "submodules": false,
"revision": "524ae2d67dd84d99a10f409ed6cd8e4e7b3cae3f", "revision": "cd7a6f6d5dc58484e62a8e85677e06e47cf2bd4d",
"url": "https://github.com/oxalica/nil/archive/524ae2d67dd84d99a10f409ed6cd8e4e7b3cae3f.tar.gz", "url": "https://github.com/oxalica/nil/archive/cd7a6f6d5dc58484e62a8e85677e06e47cf2bd4d.tar.gz",
"hash": "sha256-Uy2qzd+fMoBcp4NPSO7DavEC1pGMegmAqoEMvmXbIQU=" "hash": "sha256-fK4INnIJQNAA8cyjcDRZSPleA+N/STI6I0oBDMZ2r+E="
}, },
"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.11pre834687.6027c30c8e98/nixexprs.tar.xz", "url": "https://releases.nixos.org/nixpkgs/nixpkgs-25.11pre836767.e44b8dc0882d/nixexprs.tar.xz",
"hash": "sha256-Ba/cFHWBoCISrKBcqU8kH/8LJXYUj2kfFz7l7a7RwMU=" "hash": "sha256-euf3HhNllLzdAjWqfM+sgM8WE8H8sl7O61LpjOxsQN8="
}, },
"npins": { "npins": {
"type": "Git", "type": "Git",