Skip to content

jaehong21/nix-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nix config

Install Nix with Determinate

# install nix by Determinate System
# https://github.com/DeterminateSystems/nix-installer
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --determinate

# to  uninstall
# https://zero-to-nix.com/start/uninstall/
# https://github.com/NixOS/nix/issues/4390#issuecomment-750341014
/nix/nix-installer uninstall

nix-darwin

https://github.com/LnL7/nix-darwin

nix run nix-darwin#darwin-rebuild -- switch --flake . # or `.#jetty`, `<path to flake.nix>#jetty`
darwin-rebuild switch --flake . # if darwin-rebuild installed

# to uninstall
# https://github.com/nix-darwin/nix-darwin?tab=readme-ov-file#uninstalling
sudo nix --extra-experimental-features "nix-command flakes" run nix-darwin#darwin-uninstaller

Home Manager

https://github.com/nix-community/home-manager

# current path with `flake.nix`
nix run nixpkgs#home-manager -- switch --flake . # or `#jetty`, `<path to flake.nix>#jetty`
home-manager switch --flake . # if home-manager installed

# to uninstall
home-manager uninstall

About

❄️ jaehong21's personal Nix config collection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published