♻️ refactor home-manager / dotfiles to use chezmoi

This commit is contained in:
2024-09-14 18:12:01 -04:00
parent 6321f08230
commit d9173abb79
15 changed files with 76 additions and 211 deletions

View File

@ -1,6 +1,6 @@
{ pkgs, dotfiles, ... }: {
{ ... }: {
imports = [ ./common.nix ];
imports = [ ./common.nix ../../users ];
nix = {
configureBuildUsers = true;
@ -42,16 +42,5 @@
};
};
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.walkah = import "${dotfiles}/home.nix";
};
users.users.walkah = {
home = "/Users/walkah";
shell = pkgs.zsh;
};
system.stateVersion = 4;
}