aboutsummaryrefslogtreecommitdiff
path: root/macos.local/flake/home/core.nix.org
blob: 4beefd87b47fa406e6a8a05e26396128353bf8c3 (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
#+title: Home Configuration

Set up home manager for my user account and import submodules. Define my user as =jjanzen= and specify the wallpaper and add items to the =PATH= variable.
#+begin_src nix
  { config, pkgs, ... }:

  {
    imports = [
      ./clang-format.nix
      ./fonts.nix
      ./programs/core.nix
      ./scripts/core.nix
    ];

    home.stateVersion = "24.05";
    programs.home-manager.enable = true;

    home.username = "jjanzen";
    home.homeDirectory = "/Users/jjanzen";

    home.file.".wallpaper".source = ./.wallpaper;

    home.sessionPath = [
      "$HOME/.local/bin"
      "/usr/local/bin"
      "/opt/homebrew/bin"
      "/opt/homebrew/sbin"
    ];

    home.sessionSearchVariables = {
      MANPATH = [
        "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/share/man"
        "/usr/share/man"
      ];
    };
  }
#+end_src