From 5f864ea13a47dd410ffd97a2cc8574237fe881f6 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Sun, 3 Sep 2023 21:47:56 -0500 Subject: [PATCH] mkDefault homedir --- os/linux/nix/daniel.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os/linux/nix/daniel.nix b/os/linux/nix/daniel.nix index d22aad0..1914e86 100644 --- a/os/linux/nix/daniel.nix +++ b/os/linux/nix/daniel.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: { +{ pkgs, lib, ... }: { # TODO: email access? # accounts.email.accounts = { # google = { @@ -7,7 +7,7 @@ # }; home.username = "daniel"; - home.homeDirectory = "/home/daniel/.home"; + home.homeDirectory = lib.mkDefault "/home/daniel/.home"; home.stateVersion = "23.05"; home.packages = [