Skip to content

Ericson2314/nixos-configuration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nixos-configuration

Much better than a .dotfiles repo

Home manager

"$(nix-build home-manager-entry.nix --no-out-link)/activate"

NixOS

sudo nix-env \
  --profile /nix/var/nix/profiles/system \
  --set "$(nix-build nixos-entry.nix -A system --no-out-link)"
sudo /nix/var/nix/profiles/system/bin/switch-to-configuration switch

Also

nixos-option \
  --options_expr '(import ./nixos-entry.nix).options' \
  --config_expr '(import ./nixos-entry.nix).config'