feat: create lib folder, for functions

This commit is contained in:
Ranomier 2025-06-04 23:01:41 +02:00
parent af0bb8743e
commit 68f44bcc3a
3 changed files with 1 additions and 1 deletions

16
lib/debug.nix Normal file
View file

@ -0,0 +1,16 @@
{ ... }:
{
imports = [
{lib, config, ... }: {
options.tempDebugVar = lib.mkOption {
type = lib.types.str;
default = "";
description = "tempDebugVar";
};
}
];
environment.etc."debugfile".text = ''
${config.tempDebugVar}
'';
}