Skip to content

lokeshmohanty/nix-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My NixOS Configuration

Commands

NixOS

  • Apply system configuration (nixos-install --flake .#hostname on live installation media)
sudo nixos-rebuild switch --flake .#sudarshan
  • Apply home configuration
nix shell nixpkgs#home-manager
home-manager switch --flake .#lokesh@sudarshan

Nix

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
nix-copy-closure --to <username>@<ip> $(type -p <package-name>)

References