feat: add 'from' script to get real path of exe
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
d823b36559
commit
b09cceb259
5 changed files with 64 additions and 53 deletions
|
@ -13,6 +13,7 @@
|
|||
./vars
|
||||
|
||||
./modules
|
||||
./packages.nix
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
|
||||
|
@ -80,15 +81,6 @@
|
|||
|
||||
environment.systemPackages =
|
||||
(with pkgs; [
|
||||
# File management
|
||||
imagemagick
|
||||
unzip
|
||||
zip
|
||||
unzip
|
||||
p7zip
|
||||
rar
|
||||
unrar
|
||||
|
||||
# Peripherals
|
||||
hdparm
|
||||
pciutils
|
||||
|
|
|
@ -6,6 +6,5 @@
|
|||
./neovim
|
||||
./nix-index
|
||||
./tmux
|
||||
./packages.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
imports = [
|
||||
./vars
|
||||
./modules/global.nix
|
||||
./packages.nix
|
||||
];
|
||||
|
||||
nix = {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
self,
|
||||
...
|
||||
}: {
|
||||
home.packages =
|
||||
environment.systemPackages =
|
||||
(with self.packages.${pkgs.system}; [
|
||||
pokemon-colorscripts
|
||||
repl
|
||||
|
@ -12,18 +12,45 @@
|
|||
undollar
|
||||
])
|
||||
++ (with pkgs; [
|
||||
alejandra
|
||||
|
||||
# Archiving
|
||||
zip
|
||||
unzip
|
||||
p7zip
|
||||
rar
|
||||
bzip2
|
||||
gzip
|
||||
gnutar
|
||||
xz
|
||||
|
||||
# File management
|
||||
findutils
|
||||
diffutils
|
||||
utillinux
|
||||
which
|
||||
imagemagick
|
||||
|
||||
# Networking
|
||||
dig.dnsutils
|
||||
mosh
|
||||
openssh
|
||||
rsync
|
||||
wget
|
||||
gnupg
|
||||
|
||||
# Misc CLI stuff
|
||||
killall
|
||||
nix-output-monitor
|
||||
progress
|
||||
tree
|
||||
gnugrep
|
||||
gnused
|
||||
|
||||
# Expected Stuff
|
||||
hostname
|
||||
man
|
||||
perl
|
||||
tzdata
|
||||
])
|
||||
++ [
|
||||
# This could help as well: nix derivation show -r /run/current-system
|
||||
|
@ -33,5 +60,20 @@
|
|||
nix-store --query --requisites /run/current-system | cut -d- -f2- | sort -u
|
||||
'';
|
||||
})
|
||||
|
||||
(pkgs.writeShellApplication {
|
||||
name = "from";
|
||||
|
||||
runtimeInputs = with pkgs; [
|
||||
coreutils
|
||||
which
|
||||
];
|
||||
|
||||
text = ''
|
||||
for var do
|
||||
realpath "$(which "$var")"
|
||||
done
|
||||
'';
|
||||
})
|
||||
];
|
||||
}
|
|
@ -18,30 +18,7 @@
|
|||
];
|
||||
})}/share/fonts/truetype/NerdFonts/JetBrainsMonoNerdFontMono-Regular.ttf";
|
||||
|
||||
environment.packages =
|
||||
(with pkgs; [
|
||||
diffutils
|
||||
findutils
|
||||
utillinux
|
||||
tzdata
|
||||
hostname
|
||||
man
|
||||
gnugrep
|
||||
ripgrep
|
||||
gnupg
|
||||
gnused
|
||||
gnutar
|
||||
bzip2
|
||||
gzip
|
||||
xz
|
||||
zip
|
||||
unzip
|
||||
openssh
|
||||
perl
|
||||
which
|
||||
alejandra
|
||||
])
|
||||
++ [
|
||||
environment.packages = [
|
||||
(pkgs.writeShellApplication {
|
||||
name = "switch";
|
||||
runtimeInputs = with pkgs; [
|
||||
|
|
Loading…
Reference in a new issue