Remove username from home.nix
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
home.username = "ttm";
|
||||
home.homeDirectory = if lib.strings.hasInfix "darwin" pkgs.system
|
||||
then /Users/ttm else /home/ttm;
|
||||
home.stateVersion = "22.05";
|
||||
home.homeDirectory = if lib.strings.hasInfix "darwin" pkgs.system
|
||||
then /Users/${config.home.username} else /home/${config.home.username};
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user