From 28589384164e0d43cd4567b4a5894ad1db9f316a Mon Sep 17 00:00:00 2001 From: Mel Date: Fri, 13 Sep 2024 20:06:49 +0000 Subject: Configure common server parameters from flake only --- util.nix | 7 ------- 1 file changed, 7 deletions(-) (limited to 'util.nix') 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)); - } -- cgit 1.4.1