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