summary refs log tree commit diff stats
path: root/user/marvin.nix
blob: b76bdd743598c103ba1efb5a555153d9b702c070 (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
{ 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
  ];

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

}