16 lines
406 B
Nix
16 lines
406 B
Nix
{ self, lib, ... }:
|
|
|
|
with builtins;
|
|
with lib;
|
|
rec {
|
|
# ...
|
|
dotFilesDir = toString ../.;
|
|
modulesDir = "${dotFilesDir}/modules";
|
|
configDir = "${dotFilesDir}/config";
|
|
binDir = "${dotFilesDir}/bin";
|
|
themeDir = "${modulesDir}/themes";
|
|
homeDir = "/home/${let name = getEnv "USERNAME"; in
|
|
if elem name [ "" "root" ]
|
|
then "hlissner" else name}";
|
|
}
|