added reading of cards from data for template started migrating configs to all nix

This commit is contained in:
specCon18 2023-08-10 18:41:43 -04:00
parent 25f70e849b
commit 60f28672d3
15 changed files with 646 additions and 46 deletions

9
.config/nix/env.nix Normal file
View file

@ -0,0 +1,9 @@
{ pkgs }:
let
toEnvFile = attrs: pkgs.writeText "myenvfile.env" (nixpkgs.lib.generators.toKeyValue {} attrs);
in
toEnvFile {
UPDATE_INTERVAL = "12";
PORT = "8080";
}