Skip to content

kkkfasya/notnix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notnix

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

Usage

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 😎

Config

Check at $HOME/.config/notnix/config.lua or $XDG_CONFIG_HOME/notnix/config.lua for more detail

Tips

  1. 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
  1. run chmod +x ./install.sh && ./install.sh to move notnix to $HOME/.local/bin/ so you (user) can call it from anywhere
  2. delete this directory, it's now finished, save some space #diskspacematters

Downside

  1. 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.
  2. 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)

About

Nix-like package manager, but not really

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published