summary refs log tree commit diff stats
path: root/user/marvin.nix
blob: 01a29b1f451f0f49312c3720737e7326b0f404e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ pkgs, ... }: {
  imports = [
    ./settings/base.nix
    ./settings/development/base.nix
    ./settings/development/javascript.nix
    ./settings/development/golang.nix
    ./settings/development/web.nix
    ./settings/darwin.nix
    ./settings/emacs.nix
    ./settings/fish.nix
    ./settings/git.nix
    ./settings/kitty.nix
    ./settings/nixpkgs.nix
    ./settings/ssh.nix
    ./settings/user-interface.nix
    ./settings/nix.nix
  ];

  home.username = "alan";
  home.homeDirectory = "/Users/alan";
  home.stateVersion = "22.11";

  launchd.agents.colima = {
    enable = true;
    config = {
      ProgramArguments = [ "${pkgs.colima}/bin/colima" "start" ];
      RunAtLoad = true;
      # It doesn't run in the foreground, yet...
      # KeepAlive = true;
      WorkingDirectory = "/Users/alan";
      StandardOutPath = "/Users/alan/Library/Logs/colima.log";
      StandardErrorPath = "/Users/alan/Library/Logs/colima.log";
      EnvironmentVariables.HOME = "/Users/alan";
    };
  };

}