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 -- install
then, run nix run nixpkgs#home-manager -- switch --flake .#{hostname}
.
See also: Taskfile.yaml
task up
task gc
Note
It works only Linux devices.
task hmsw
Note
It works only macOS(darwin) devices.
task darwin-sw
task darwin-home-sw