Manage with Nix, home-manager, nix-darwin.
| Device | Hostname | OS | System |
|---|---|---|---|
| M3 MacBook Air 13" | marisa | macOS 15.2 (Sequoia) | aarch64-darwin |
| Desktop / Ryzen 5 5500 + GeForce RTX 4060 | youmu-wsl | Ubuntu 24.04.1 (on WSL2) | x86_64-linux |
| Laptop / Core i7-1195G7 | reimu-wsl | Ubuntu 24.04.1 (on WSL2) | x86_64-linux |
Install Nix via DeterminateSystems/nix-installer.
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | \
sh -s -- installthen, run nix run nixpkgs#home-manager -- switch --flake .#{hostname}.
See also: Taskfile.yaml
Runs nix flake update, home-manager switch and nix-garbage-collect --delete-old
task uptask updatetask gctask hmswNote
It works only macOS(darwin) devices.
task darwin-sw