From d29abb38925177877698fbb6e83d17932c1faaaf Mon Sep 17 00:00:00 2001 From: Julian Antonielli Date: Sat, 25 Nov 2023 14:39:28 +0000 Subject: [PATCH] Set home directory for `endeavour` --- flake.nix | 2 +- hosts/endeavour.nix | 22 +++++++++++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 625a727..c2db04b 100644 --- a/flake.nix +++ b/flake.nix @@ -136,7 +136,7 @@ in hostDrvs // default; }) // { - darwinConfigurations.darwinOdyssey = nix-darwin.lib.darwinSystem { + darwinConfigurations.endeavour = nix-darwin.lib.darwinSystem { system = "aarch64-darwin"; modules = [ home-manager.darwinModules.home-manager diff --git a/hosts/endeavour.nix b/hosts/endeavour.nix index 32e84c8..dcfe015 100644 --- a/hosts/endeavour.nix +++ b/hosts/endeavour.nix @@ -1 +1,21 @@ -{ pkgs, ... }: { } +{ pkgs, lib, ... }: { + services.nix-daemon.enable = true; + + services.yabai.enable = true; + # services.yabai.enableScriptingAddition = true; + + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.users.jjantdev = { pkgs, ... }: { + home.stateVersion = "22.11"; + home.homeDirectory = lib.mkForce "/Users/jjantdev"; + + programs.htop.enable = true; + }; + + # Requires installing homebrew by hand + # See: https://mac.install.guide/homebrew/index.html + homebrew = { + enable = true; + }; +}