diff options
Diffstat (limited to 'util.nix')
| -rw-r--r-- | util.nix | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/util.nix b/util.nix index 1375ef5..e783f3b 100644 --- a/util.nix +++ b/util.nix @@ -1,14 +1,7 @@ { lib }: { - checkMe = { name ? "", ... }@me: - assert name != ""; - assert (builtins.pathExists ./machines/${name}.nix) - && (builtins.pathExists ./hardware/${name}.nix); - me; - titleCase = str: with lib.strings; let firstCharUpper = s: concatStrings [(toUpper (substring 0 1 s)) (substring 1 (stringLength s) s)]; in concatStringsSep " " (map firstCharUpper (splitString " " str)); - } |
