Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 657 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 657 Bytes

NixOS dotfiles

This repository contains my dotfiles for my NixOS system.

Installation

Enable nix-command and flakes

echo "experimental-features = nix-command flakes" > ~/.config/nix/nix.conf

Rebuild system

Available devices:

  • alphicta (my Victus 16-e0003nq laptop)
  • bethium (work pc)
sudo nixos-rebuild switch --flake .#<hostname>

You can update the pinned flake packages with nix flake update.

Note to self...

Initialize and update the submodule

git submodule init
git submodule update

Enable submodules when building

sudo nixos-rebuild switch --flake ".?submodules=1#<hostname>"