sudo nixos-rebuild switch --flake .#nixos
sudo darwin-rebuild switch --flake .#bahrom04
--option tarball-ttl 0 # no caching
nix build .#darwinConfigurations.bahrom04.config.system.build.toplevel --show-trace
nix fmt .
nix flake check --all-systems --show-trace
nix repl # and inside type ":lf ."
nix run nixpkgs#nix-tree
Check that environment variable has proper sops path
nix develop
sops ./secrets/secrets.yaml