Skip to content

Allianaab2m/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Manage with Nix, home-manager, nix-darwin.

Devices

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

Setup

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}.

Usage

See also: Taskfile.yaml

Update

task up

Garbage collection

task gc

home-manager switch

Note

It works only Linux devices.

task hmsw

nix-darwin switch

Note

It works only macOS(darwin) devices.

task darwin-sw

home-manager switch (for darwin)

task darwin-home-sw