Skip to content

About

imperative commands that save to a config file declaratively.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nix to Sinless Imperative

the repo itself is licensed under the WTFPL license.

i know why. i don't want GNU License on Nix files.

How to use it

  1. download the .zshrc
  2. download the packages.nix
  3. clone or move .zshrc to /home/user/.zshrc
  4. clone or move packages.nix to /etc/nixos/packages.nix
  5. import packages.nix in configuration.nix it should look like:

Code:

imports =
  [
    ./hardware-configuration.nix
    ./packages.nix
  ];
  1. make sure you have ZSH
  2. enjoy!

Commands are:

nix-add [pkg]: adds package.

nix-remove [pkg]: removes package.

nix-list: lists packages in /etc/nixos/packages.nix file.

New Additions: The "--wait" flag

Works properly only when using nix-add or nix-remove commands.

When you add a --wait flag, it should append the text and not rebuild the system. Instead the package waits for the rebuild command before it can get installed.

still the same license

if you are sad that there is no .bashrc, then DO THE OPEN SOURCE THING AND FORK IT!

About

imperative commands that save to a config file declaratively.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages