Skip to content

DavSanchez/nix-dotfiles

Repository files navigation

Nix-based dotfiles

built with nix

CI NixOS Unstable

Usage

  • Run sudo nixos-rebuild switch --flake .#hostname to apply your system configuration.
    • If you're still on a live installation medium, run nixos-install --flake .#hostname instead, and reboot.
  • Run darwin-rebuild switch --flake .#username@hostname to apply your macOS configuration.
    • If you don't have nix-darwin installed, try nix run nix-darwin/master#darwin-rebuild -- switch first or see here for installation.
  • Run home-manager switch --flake .#username@hostname to apply your home configuration.
    • If you don't have home-manager installed, try nix run home-manager/master -- init --switch first.

And that's it, really!

Influences

Further reading

Issues that might happen

VSCode and derivatives (VSCodium) won't update

Usually accompanied by the message "An update is ready to install. Visual Studio Code is trying to add a new helper tool".

This is usually caused due to VSCod{e,ium} residing in a different path than /Applications. To fix, according to microsoft/vscode#7426 (comment):

sudo chown $USER ~/Library/Caches/com.vscodium.ShipIt/* # or com.microsoft.VSCode.ShipIt/*
xattr -dr com.apple.quarantine ~/Applications/Home\ Manager\ Apps/VSCodium.app # Or Visual\ Studio\ Code.app

About

Nix-based dotfiles for my systems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published