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

Set up home manager for my user account and import submodules.
#+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;
#+end_src

Set username and paths.
#+begin_src nix
    home.username = "jjanzen";
    home.homeDirectory = "/Users/jjanzen";
#+end_src

Import a wallpaper to the path =~/.wallpaper=.
#+begin_src nix
    home.file.".wallpaper".source = ./.wallpaper;
#+end_src

Add Homebrew to the path along with standard =bin= directories.
#+begin_src nix
    home.sessionPath = [
      "$HOME/.local/bin"
      "/usr/local/bin"
      "/opt/homebrew/bin"
      "/opt/homebrew/opt/llvm/bin"
    ];
  }
#+end_src