♻️ refactor home-manager / dotfiles to use chezmoi
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user