add homeDirectory

This commit is contained in:
Andreas Zweili 2022-01-24 11:37:50 +01:00
parent 5a09cd55d9
commit 1214b4b6f1
2 changed files with 4 additions and 6 deletions

View File

@ -133,9 +133,10 @@
homeConfigurations = {
"andreas@co-ws-con4" = home-manager.lib.homeManagerConfiguration {
configuration = import ./home-manager/work-wsl.nix;
inherit self system;
inherit self system username;
homeDirectory = "/home/${username}";
extraSpecialArgs = {
inherit self system;
inherit self system username;
};
};
};

View File

@ -1,7 +1,4 @@
{ pkgs, ... }:
let
username = import ../username.nix;
in
{ self, pkgs, username, ... }:
{
imports = [
./common