a75c64d04a
This puts a hard dependency on 20.09, but that's to be expected.
16 lines
392 B
Nix
16 lines
392 B
Nix
{ self, lib, ... }:
|
|
|
|
with builtins;
|
|
with lib;
|
|
rec {
|
|
# ...
|
|
dotFiles = toString ../.;
|
|
modulesDir = "${dotFiles}/modules";
|
|
configDir = "${dotFiles}/config";
|
|
binDir = "${dotFiles}/bin";
|
|
themeDir = "${modulesDir}/themes";
|
|
homeDir = "/home/${let name = getEnv "USERNAME"; in
|
|
if elem name [ "" "root" ]
|
|
then "hlissner" else name}";
|
|
}
|