grace/dots
dotfiles/nix configs
git clone https://git.gae.moe/grace/dots
4db52e6
idk
1{ config , ...} : 2 3let 4# TODO: make this use the home manager in nix-path? set in system.nix 5home-manager = builtins . fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz" ; 6in 7{ 8nixpkgs . config . allowUnfree = true ; 9nix . settings . experimental-features = [ 10"nix-command" 11"flakes" 12]; 13 14imports = [ 15../darwin.nix 16" ${ home-manager } /nix-darwin" 17]; 18 19home-manager = { 20useGlobalPkgs = false ; 21useUserPackages = true ; 22backupFileExtension = "backup" ; 23users .${ config . system . primaryUser } = { 24imports = [ ../home.nix ]; 25home . username = config . system . primaryUser ; 26home . homeDirectory = config . users . users .${ config . system . primaryUser }. home ; 27}; 28}; 29}