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; }