Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 733 Bytes

README.adoc

File metadata and controls

53 lines (36 loc) · 733 Bytes

NixOS dotfiles

No git ?

nix-shell -p git
git clone https://github.com/scarisey/nixos-dotfiles.git
cd nixos-dotfiles
nix-shell ##the shell.nix file will activate flake feature

Fresh install

  • On live CD

nixos-install --flake .#hostname
  • On NixOS

sudo nixos-rebuild switch --flake .#hostname
nix --accept-flake-config run . -- switch --flake .

Apply configurations

NixOS system configuration:

sudo nixos-rebuild switch --flake .
nix --accept-flake-config run . -- switch --flake .

Home manager configuration:

home-manager switch --flake .

or

nix run . -- switch --flake .

Accept nix flake config

nix run nixpkgs#cachix -- use scarisey-public