mirror of
https://github.com/RGBCube/ncc
synced 2025-07-31 12:07:48 +00:00
Compare commits
3 commits
f4cda80d94
...
b4919a5990
Author | SHA1 | Date | |
---|---|---|---|
b4919a5990 | |||
f44fb42a0c | |||
9434d5bd12 |
3 changed files with 4 additions and 2 deletions
|
@ -4,6 +4,7 @@ in {
|
|||
environment.systemPackages = attrValues {
|
||||
inherit (pkgs)
|
||||
difftastic
|
||||
jjui
|
||||
mergiraf
|
||||
radicle-node
|
||||
;
|
||||
|
|
|
@ -63,7 +63,7 @@ in {
|
|||
|
||||
home-manager.sharedModules = [{
|
||||
programs.nushell.configFile.text = mkAfter /* nu */ ''
|
||||
def --wrapped nr [program: string = "", ...arguments] {
|
||||
def --wrapped * [program: string = "", ...arguments] {
|
||||
if ($program | str contains "#") or ($program | str contains ":") {
|
||||
nix run $program -- ...$arguments
|
||||
} else {
|
||||
|
@ -71,7 +71,7 @@ in {
|
|||
}
|
||||
}
|
||||
|
||||
def --wrapped ns [...programs] {
|
||||
def --wrapped > [...programs] {
|
||||
nix shell ...($programs | each {
|
||||
if ($in | str contains "#") or ($in | str contains ":") {
|
||||
$in
|
||||
|
|
|
@ -19,6 +19,7 @@ in {
|
|||
p7zip
|
||||
pstree
|
||||
rsync
|
||||
sd
|
||||
timg
|
||||
tokei
|
||||
typos
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue