consolidate build functions

This commit is contained in:
Noah Masur
2025-03-12 01:51:12 +00:00
parent bf273925ad
commit bdf163a50a
4 changed files with 67 additions and 54 deletions

View File

@ -13,6 +13,10 @@ in
config = lib.mkIf cfg.enable {
home.username = config.nmasur.settings.username;
home.homeDirectory =
if pkgs.stdenv.isDarwin then "/Users/${config.home.username}" else "/home/${config.home.username}";
home.packages = [
pkgs.dig # DNS lookup
pkgs.fd # find