diff options
| author | Mel <einebeere@gmail.com> | 2024-09-13 20:06:49 +0000 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-09-13 20:06:49 +0000 |
| commit | 28589384164e0d43cd4567b4a5894ad1db9f316a (patch) | |
| tree | 489d70f81716f0234de40bd684fa8b83308f5299 /util.nix | |
| parent | ed248959c1df59bf93edc755549a00c070525f7b (diff) | |
| download | rnrd-28589384164e0d43cd4567b4a5894ad1db9f316a.tar.zst rnrd-28589384164e0d43cd4567b4a5894ad1db9f316a.zip | |
Configure common server parameters from flake only
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)); - } |
