try to fix username in home manager
This commit is contained in:
parent
7ffada5c7b
commit
637042c243
2 changed files with 7 additions and 0 deletions
|
@ -3,11 +3,13 @@
|
|||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
currentSystemUser,
|
||||
...
|
||||
}: {
|
||||
programs = import ../shared/home-programs.nix {inherit inputs config pkgs lib;};
|
||||
|
||||
home = {
|
||||
username = currentSystemUser;
|
||||
homeDirectory = "/Users/nmarks/";
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
# manage.
|
||||
|
|
|
@ -30,6 +30,11 @@
|
|||
hostConfig = ../hosts/${host}/configuration.nix;
|
||||
homeConfig = ../hosts/${host}/home.nix;
|
||||
|
||||
homeDir =
|
||||
if darwin
|
||||
then "/Users/nmarks/"
|
||||
else "/home/nmarks";
|
||||
|
||||
# NixOS vs nix-darwin functions
|
||||
systemFunc =
|
||||
if darwin
|
||||
|
|
Loading…
Reference in a new issue