Make homeDirectory setting a default
Some hosts may have different home path
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{ primaryUser, ... }:
|
||||
{ lib, primaryUser, ... }:
|
||||
{
|
||||
imports = [
|
||||
./common.nix
|
||||
];
|
||||
|
||||
home.homeDirectory = "/home/${primaryUser}";
|
||||
home.homeDirectory = lib.mkDefault "/home/${primaryUser}";
|
||||
}
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
{ pkgs, primaryUser, ... }:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
primaryUser,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./common.nix
|
||||
];
|
||||
|
||||
home.homeDirectory = "/Users/${primaryUser}";
|
||||
home.homeDirectory = lib.mkDefault "/Users/${primaryUser}";
|
||||
|
||||
home.packages = with pkgs; [
|
||||
secretive
|
||||
|
||||
Reference in New Issue
Block a user