authorgravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2025-04-19 11:04:56-07:00
committergravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2025-04-19 11:04:56-07:00
log637042c243b76c67f5bbb8617e334a660bc5b4ef
tree9c7329e8e5f0593e3349c6eb3e3335a517f0d8f7
parent7ffada5c7b5bf2ef4d15f9ef91415feaf65a19ef
signature Commit is signed but in an unrecognized format.

try to fix username in home manager


2 files changed, 7 insertions(+), 0 deletions(-)

hosts/laptop/home.nix+2
...@@ -3,11 +3,13 @@...@@ -3,11 +3,13 @@
3 config,3 config,
4 pkgs,4 pkgs,
5 lib,5 lib,
6 currentSystemUser,
6 ...7 ...
7}: {8}: {
8 programs = import ../shared/home-programs.nix {inherit inputs config pkgs lib;};9 programs = import ../shared/home-programs.nix {inherit inputs config pkgs lib;};
910
10 home = {11 home = {
12 username = currentSystemUser;
11 homeDirectory = "/Users/nmarks/";13 homeDirectory = "/Users/nmarks/";
12 # Home Manager needs a bit of information about you and the paths it should14 # Home Manager needs a bit of information about you and the paths it should
13 # manage.15 # manage.
lib/mkSystem.nix+5
...@@ -30,6 +30,11 @@...@@ -30,6 +30,11 @@
30 hostConfig = ../hosts/${host}/configuration.nix;30 hostConfig = ../hosts/${host}/configuration.nix;
31 homeConfig = ../hosts/${host}/home.nix;31 homeConfig = ../hosts/${host}/home.nix;
3232
33 homeDir =
34 if darwin
35 then "/Users/nmarks/"
36 else "/home/nmarks";
37
33 # NixOS vs nix-darwin functions38 # NixOS vs nix-darwin functions
34 systemFunc =39 systemFunc =
35 if darwin40 if darwin