tangled
alpha
login
or
join now
ngp.computer
/
nixos
0
fork
atom
Configuration for my NixOS based systems and Home Manager
0
fork
atom
overview
issues
pulls
pipelines
FIX: optional x flag for nr
ngp.computer
1 year ago
e5021e8f
291a77f8
+6
-2
1 changed file
expand all
collapse all
unified
split
scripts
nr
+6
-2
scripts/nr
reviewed
···
1
1
#!/usr/bin/env rc
2
2
3
3
-
flag e +
4
3
flag x +
5
4
5
5
+
if(~ $1 -x) {
6
6
+
flake e +
7
7
+
shift
8
8
+
}
9
9
+
6
10
pkg=$1
7
11
shift
8
12
9
9
-
exec nix run 'nixpkgs#'^$pkg -- $*
13
13
+
exec nix run --impure 'nixpkgs#'^$pkg -- $*