Skip to content

Commit

Permalink
Remove redundant homeDirectory definition
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Jan 19, 2024
1 parent baf1c9f commit bebf6ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions home/users/christian/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ in
};

config = mkIf cfg.enable {
home = {
username = mkDefault username;
homeDirectory = mkDefault "/home/${username}";
};
home.username = mkDefault username;

custom = {
roles.homeage.enable = true;
Expand Down
1 change: 0 additions & 1 deletion home/users/demo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ in
config = mkIf cfg.enable {
home = {
inherit username;
homeDirectory = "/home/${username}";
};
};
}

0 comments on commit bebf6ae

Please sign in to comment.