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,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
|
currentSystemUser,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
programs = import ../shared/home-programs.nix {inherit inputs config pkgs lib;};
|
programs = import ../shared/home-programs.nix {inherit inputs config pkgs lib;};
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
username = currentSystemUser;
|
||||||
homeDirectory = "/Users/nmarks/";
|
homeDirectory = "/Users/nmarks/";
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
# manage.
|
# manage.
|
||||||
|
|
|
@ -30,6 +30,11 @@
|
||||||
hostConfig = ../hosts/${host}/configuration.nix;
|
hostConfig = ../hosts/${host}/configuration.nix;
|
||||||
homeConfig = ../hosts/${host}/home.nix;
|
homeConfig = ../hosts/${host}/home.nix;
|
||||||
|
|
||||||
|
homeDir =
|
||||||
|
if darwin
|
||||||
|
then "/Users/nmarks/"
|
||||||
|
else "/home/nmarks";
|
||||||
|
|
||||||
# NixOS vs nix-darwin functions
|
# NixOS vs nix-darwin functions
|
||||||
systemFunc =
|
systemFunc =
|
||||||
if darwin
|
if darwin
|
||||||
|
|
Loading…
Reference in a new issue