Skip to content

My personal configuration for NixOS and macOS as a Nix flake.

Notifications You must be signed in to change notification settings

DMJGilbert/.config

Repository files navigation

.config

Screenshot

MacOS Rebuild

darwin-rebuild switch  --flake .

NixOS Rebuild

nixos-rebuild switch  --flake .

Update

nix flake update .

MacOS Nix update:

sudo -i sh -c 'nix-channel --update && nix-env --install --attr nixpkgs.nix && launchctl remove org.nixos.nix-daemon && launchctl load /Library/LaunchDaemons/org.nixos.nix-daemon.plist'

Formatting:

nix run nixpkgs#alejandra -- --check ./