From b38ce971bfd3c131cae893457a17a09b29f92ae1 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Fri, 29 Mar 2024 16:15:26 -0400 Subject: [PATCH] maud: add some packages --- darwin/maud/default.nix | 47 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a/darwin/maud/default.nix b/darwin/maud/default.nix index 22c46da..656b472 100644 --- a/darwin/maud/default.nix +++ b/darwin/maud/default.nix @@ -1,6 +1,14 @@ -{ pkgs, ... }: { - environment.systemPackages = with pkgs; [ ripgrep ]; + pkgs, + lib, + inputs, + ... +}: +{ + environment.systemPackages = with pkgs; [ + ripgrep + nix-output-monitor + ]; services.nix-daemon.enable = true; programs = { @@ -8,8 +16,41 @@ zsh.enable = true; }; + users.users.artemis = { + name = "artemis"; + home = "/Users/artemis"; + }; + + home-manager.users.artemis = { + programs.direnv = { + enable = true; + nix-direnv.enable = true; + }; + }; + + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + + imports = [ + inputs.nixvim.nixDarwinModules.nixvim + (import ../../sets/nvim.nix { + inherit lib; + path = [ + "programs" + "nixvim" + ]; + }) + ]; + programs.nixvim.enable = true; + programs.nixvim.plugins.lsp.enable = false; + + environment.loginShell = "${pkgs.fish}/bin/fish"; + nix.settings.experimental-features = "nix-command flakes"; - system.stateVersion = 4; + nixpkgs.overlays = [ inputs.lix-module.overlays.default ]; + nixpkgs.hostPlatform = "x86_64-darwin"; + system.stateVersion = 4; + home-manager.users.artemis.home.stateVersion = "23.11"; }