about summary refs log tree commit diff
path: root/util.nix
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2024-09-13 20:06:49 +0000
committerMel <einebeere@gmail.com>2024-09-13 20:06:49 +0000
commit28589384164e0d43cd4567b4a5894ad1db9f316a (patch)
tree489d70f81716f0234de40bd684fa8b83308f5299 /util.nix
parented248959c1df59bf93edc755549a00c070525f7b (diff)
downloadrnrd-28589384164e0d43cd4567b4a5894ad1db9f316a.tar.zst
rnrd-28589384164e0d43cd4567b4a5894ad1db9f316a.zip
Configure common server parameters from flake only
Diffstat (limited to 'util.nix')
-rw-r--r--util.nix7
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));
-    
 }