consolidate build functions

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

No files matched your search

@@ -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
@@ -14,6 +14,9 @@ in
options.nmasur.profiles.darwin-base.enable = lib.mkEnableOption "Base macOS home-manager config";
config = lib.mkIf cfg.enable {
home.homeDirectory = lib.mkForce "/Users/${config.home.username}";
# Default shell setting doesn't work
home.sessionVariables = {
SHELL = "${pkgs.fish}/bin/fish";