Skip to content

pkolios/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nix / NixOS dotfiles

Common commands

# Rebuild after configuration changes
sudo nixos-rebuild switch --flake .

# Same but targeting a specific host
sudo nixos-rebuild switch --flake .#nyx

# Update flake.lock
nix flake update

# Or replace only the specific input, such as home-manager:
nix flake update home-manager

# Update home manager
sudo nix-channel --update

Downgrading - upgrading packages

When working with Flakes, you may encounter situations where you need to downgrade or upgrade certain packages to address bugs or compatibility issues... https://nixos-and-flakes.thiscute.world/nixos-with-flakes/downgrade-or-upgrade-packages