Skip to content

chaesgfnd/nix

 
 

Repository files navigation

Installation

NB: should have your correct hardware-configuration.nix at /etc/nixos/hardware-configuration.nix. In my setup hosts normally include their associated hardware-configuration.nix files, but they are used as a backup in case /etc/nixos/hardware-configuration.nix is not found.

Set the INSTALL_PATH, then run

sh << 'EOF'
INSTALL_PATH="..."
if [ "$INSTALL_PATH" = "..." ]; then
    echo "set the INSTALL_PATH to the target installation path, then rerun the command"
    return 1
fi
mkdir -p "$(dirname "$INSTALL_PATH")" && \
git clone --depth=1 https://github.com/valeratrades/nix "$INSTALL_PATH" && \
cd "$INSTALL_PATH"
EOF

Reqs

~/s/g/private/credentials.fish file with following variables set:

$GITHUB_KEY

Manual adjustments

Currently:

  • git config in ./os/configuration.nix must be adjusted for the correct username and email

Usage

fhs

Spawns an fhs-compatible shell

Dev

Currently config is impure. For possibility of reversion, all known places that introduce impurities are marked with #IMPURE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 32.5%
  • Lua 32.4%
  • Nix 23.6%
  • Python 7.7%
  • Rust 3.0%
  • Go 0.5%
  • Other 0.3%