2020-10-01 15:46:04 -07:00
|
|
|
{ self, lib, ... }:
|
|
|
|
|
|
|
|
with builtins;
|
|
|
|
with lib;
|
|
|
|
rec {
|
|
|
|
# ...
|
2020-10-11 18:29:49 -07:00
|
|
|
dotFilesDir = toString ../.;
|
|
|
|
modulesDir = "${dotFilesDir}/modules";
|
|
|
|
configDir = "${dotFilesDir}/config";
|
|
|
|
binDir = "${dotFilesDir}/bin";
|
|
|
|
themeDir = "${modulesDir}/themes";
|
2020-10-01 15:46:04 -07:00
|
|
|
homeDir = "/home/${let name = getEnv "USERNAME"; in
|
|
|
|
if elem name [ "" "root" ]
|
|
|
|
then "hlissner" else name}";
|
|
|
|
}
|