| author | |
| committer | |
| log | 637042c243b76c67f5bbb8617e334a660bc5b4ef |
| tree | 9c7329e8e5f0593e3349c6eb3e3335a517f0d8f7 |
| parent | 7ffada5c7b5bf2ef4d15f9ef91415feaf65a19ef |
| signature | Commit is signed but in an unrecognized format. |
2 files changed, 7 insertions(+), 0 deletions(-)
hosts/laptop/home.nix+2| ... | ... | @@ -3,11 +3,13 @@ |
| 3 | 3 | config, |
| 4 | 4 | pkgs, |
| 5 | 5 | lib, |
| 6 | currentSystemUser, | |
| 6 | 7 | ... |
| 7 | 8 | }: { |
| 8 | 9 | programs = import ../shared/home-programs.nix {inherit inputs config pkgs lib;}; |
| 9 | 10 | |
| 10 | 11 | home = { |
| 12 | username = currentSystemUser; | |
| 11 | 13 | homeDirectory = "/Users/nmarks/"; |
| 12 | 14 | # Home Manager needs a bit of information about you and the paths it should |
| 13 | 15 | # manage. |
lib/mkSystem.nix+5| ... | ... | @@ -30,6 +30,11 @@ |
| 30 | 30 | hostConfig = ../hosts/${host}/configuration.nix; |
| 31 | 31 | homeConfig = ../hosts/${host}/home.nix; |
| 32 | 32 | |
| 33 | homeDir = | |
| 34 | if darwin | |
| 35 | then "/Users/nmarks/" | |
| 36 | else "/home/nmarks"; | |
| 37 | ||
| 33 | 38 | # NixOS vs nix-darwin functions |
| 34 | 39 | systemFunc = |
| 35 | 40 | if darwin |