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";
|
2020-10-23 17:54:25 -07:00
|
|
|
themesDir = "${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}";
|
|
|
|
}
|