From 8957622879a948ee4c257265abc06d422306f5af Mon Sep 17 00:00:00 2001 From: biscuit Date: Fri, 6 Jun 2025 08:38:11 -0500 Subject: [PATCH] upd --- flake.nix | 1 + home/macos/home.nix | 13 +++++++++++++ nixos/macos/darwin.nix | 9 +++++++-- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 home/macos/home.nix diff --git a/flake.nix b/flake.nix index d702e52..57be059 100644 --- a/flake.nix +++ b/flake.nix @@ -25,6 +25,7 @@ }; outputs = { + self, nixpkgs, home-manager, darwin, diff --git a/home/macos/home.nix b/home/macos/home.nix new file mode 100644 index 0000000..e0e808a --- /dev/null +++ b/home/macos/home.nix @@ -0,0 +1,13 @@ +{ + config, + pkgs, + ... +}: { + imports = [ + ]; + + programs.home-manager.enable = true; + + home.packages = []; + home.stateVersion = "23.05"; +} diff --git a/nixos/macos/darwin.nix b/nixos/macos/darwin.nix index a262866..391c7ee 100644 --- a/nixos/macos/darwin.nix +++ b/nixos/macos/darwin.nix @@ -5,7 +5,11 @@ }: { # List packages installed in system profile. To search by name, run: # $ nix-env -qaP | grep wget - environment.systemPackages = [pkgs.vim]; + environment.systemPackages = with pkgs; [ + vim + neovim + lazygit + ]; # Auto upgrade nix package and the daemon service. # services.nix-daemon.enable = true; @@ -20,7 +24,6 @@ programs.zsh.enable = true; # default shell on catalina # programs.fish.enable = true; - # Used for backwards compatibility, please read the changelog before changing. # $ darwin-rebuild changelog system.stateVersion = 5; @@ -31,4 +34,6 @@ name = "lsoriano"; home = "/Users/lsoriano"; }; + + home-manager.users.lsoriano = import ../../home/macos/home.nix; }