Skip to content

ahaysx/config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Host and Home Manager Flake

  • Manage multiple hosts (NixOS VM, Macbook)
  • Manage dotfiles, configurable per host

Structure

  • hardware/ namespaced hardware-configuration.nix files
  • machines/ namespaced configuration.nix files
  • users/
    • namespaced user accounts and home-manager configs
    • shared dotfiles
    • shared common home config
  • lib/ library funcs

Hosts

  • vm-aarch64
    • NixOS VM on personal Macbook M1

How do I ...

Rebuild a host?

Inside this flake dir, run switch and specify the host (defined in flake.nix outputs):

sudo nixos-rebuild switch --flake ".#${host}"

Setup Mac Home?

Home Manager is installed standalone on personal Macbook M1. A separate home.nix file exists to configure just the user environment there. Run switch and point it to this file:

home-manager switch -f users/alex-darwin/home.nix -b backup

Once darwin-nix is setup, this will change.

Resources

TODO

  • Configure ts home
  • Setup darwin-nix

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published