Nix-like package manager, but not really
it tracks the packages that you install in config.lua then install it using your package manager, so it's basically a wrapper
git clone --depth=1 https://github.com/kkkfasya/notnix
chmod +x notnix
./notnix
Run ./notnix
to install/remove files according to listed packages, or run ./notnix -h
to see help msg
Also you can use the minifed version in minifed/notnix
(psst it's 70% smaller)
This program respect $XDG_CONFIG_HOME of course 😎
Check at $HOME/.config/notnix/config.lua
or $XDG_CONFIG_HOME/notnix/config.lua
for more detail
- Make a shell alias for easier config access
put this in your zshrc or bashrc (or according to your shell)
alias pkg='nvim $HOME/.config/notnix/config.lua' # i use neovim btw
#alias pkg='nvim $XDG_CONFIG_HOME/notnix/config.lua' # or this
- run
chmod +x ./install.sh && ./install.sh
to move notnix to$HOME/.local/bin/
so you (user) can call it from anywhere - delete this directory, it's now finished, save some space #diskspacematters
- Some packages such as fortune when installed will install fortune-mod instead (on Fedora), the name doesnt match so when it's removed (e.g sudo dnf remove fortune), it fails to do so (i'm blaming Fedora for this).
To fix this... just type the "real" name, bro. - Minified version doesn't include chud, it's so over ( MINIFIED VERSION WILL NOT BE AVAILABLE FOR NOW )
minified/notnix is minified using luamin
one day i'll minify it myself using my own minifier (fully written in lua ofc)