Loading nix/repo/devShells.nix +10 −2 Original line number Diff line number Diff line {inputs, ...}: let inherit (inputs) pkgs devshell; inherit (inputs) pkgs devshell treefmt; in { default = devshell.mkShell { packages = [ pkgs.alejandra pkgs.nil (treefmt.mkWrapper pkgs { programs = { alejandra.enable = true; statix.enable = true; deadnix.enable = true; mdformat.enable = true; }; }) ]; env."HELLO".value = "world!"; enterShellCommands.test = { Loading nix/repo/docs.nix +8 −9 Original line number Diff line number Diff line {inputs, ...}: let inherit (inputs) pkgs devshell doclib; optionsDoc = doclib.mkOptionDocs { module = devshell.modules; roots = [ { url = "https://gitlab.com/rensa-nix/devshell/-/blob/main/lib"; path = "${inputs.self}/lib"; } ]; optionsDoc = doclib.mkOptionDocs { module = devshell.modules; inherit roots; }; optionsDocs = pkgs.runCommand "options-docs" {} '' mkdir -p $out Loading @@ -27,9 +26,9 @@ in accent = "blue"; }; umami = { enable = false; enable = true; src = "https://analytics.tf/umami"; siteId = ""; siteId = "8f6d1692-a0e9-4a99-85cc-22fb38e1c82b"; domains = ["devshell.rensa.projects.tf"]; }; }; Loading nix/repo/flake.lock +21 −20 Original line number Diff line number Diff line { "nodes": { "mkdocs-material-umami": { "locked": { "lastModified": 1745840856, "narHash": "sha256-1Ad1JTMQMP6YsoIKAA+SBCE15qWrYkGue9/lXOLnu9I=", "owner": "technofab", "repo": "mkdocs-material-umami", "rev": "3ac9b194450f6b779c37b8d16fec640198e5cd0a", "type": "gitlab" }, "original": { "owner": "technofab", "repo": "mkdocs-material-umami", "type": "gitlab" } }, "nixmkdocs": { "locked": { "dir": "lib", "lastModified": 1755783537, "narHash": "sha256-78lWSC3UzkpWYsnyncqbrE37gEIWLzejOeDyoBb6h5o=", "lastModified": 1755785622, "narHash": "sha256-xBb9PCkszmrWSEqUiPC7oBJABm1thF572S5QHtloZ+M=", "owner": "TECHNOFAB", "repo": "nixmkdocs", "rev": "4fd5a351c54e005c4e8df7e23a8e4eec9d3b8cd1", "rev": "61da605a9bff12f66c4b743f43aea59ca200f533", "type": "gitlab" }, "original": { Loading Loading @@ -51,9 +36,25 @@ }, "root": { "inputs": { "mkdocs-material-umami": "mkdocs-material-umami", "nixmkdocs": "nixmkdocs", "nixtest-lib": "nixtest-lib" "nixtest-lib": "nixtest-lib", "treefmt-nix": "treefmt-nix" } }, "treefmt-nix": { "flake": false, "locked": { "lastModified": 1756662192, "narHash": "sha256-F1oFfV51AE259I85av+MAia221XwMHCOtZCMcZLK2Jk=", "owner": "numtide", "repo": "treefmt-nix", "rev": "1aabc6c05ccbcbf4a635fb7a90400e44282f61c4", "type": "github" }, "original": { "owner": "numtide", "repo": "treefmt-nix", "type": "github" } } }, Loading nix/repo/flake.nix +6 −5 Original line number Diff line number Diff line Loading @@ -2,16 +2,17 @@ inputs = { nixtest-lib.url = "gitlab:TECHNOFAB/nixtest?dir=lib"; nixmkdocs.url = "gitlab:TECHNOFAB/nixmkdocs?dir=lib"; mkdocs-material-umami.url = "gitlab:technofab/mkdocs-material-umami"; treefmt-nix = { url = "github:numtide/treefmt-nix"; flake = false; }; }; outputs = i: i // { ntlib = i.nixtest-lib.lib {inherit (i.parent) pkgs;}; doclib = i.nixmkdocs.lib { inherit (i.parent) pkgs; inherit (i.parent.pkgs) lib; }; doclib = i.nixmkdocs.lib {inherit (i.parent) pkgs;}; devshell = import "${i.parent.self}/lib" {inherit (i.parent) pkgs;}; treefmt = import i.treefmt-nix; }; } Loading
nix/repo/devShells.nix +10 −2 Original line number Diff line number Diff line {inputs, ...}: let inherit (inputs) pkgs devshell; inherit (inputs) pkgs devshell treefmt; in { default = devshell.mkShell { packages = [ pkgs.alejandra pkgs.nil (treefmt.mkWrapper pkgs { programs = { alejandra.enable = true; statix.enable = true; deadnix.enable = true; mdformat.enable = true; }; }) ]; env."HELLO".value = "world!"; enterShellCommands.test = { Loading
nix/repo/docs.nix +8 −9 Original line number Diff line number Diff line {inputs, ...}: let inherit (inputs) pkgs devshell doclib; optionsDoc = doclib.mkOptionDocs { module = devshell.modules; roots = [ { url = "https://gitlab.com/rensa-nix/devshell/-/blob/main/lib"; path = "${inputs.self}/lib"; } ]; optionsDoc = doclib.mkOptionDocs { module = devshell.modules; inherit roots; }; optionsDocs = pkgs.runCommand "options-docs" {} '' mkdir -p $out Loading @@ -27,9 +26,9 @@ in accent = "blue"; }; umami = { enable = false; enable = true; src = "https://analytics.tf/umami"; siteId = ""; siteId = "8f6d1692-a0e9-4a99-85cc-22fb38e1c82b"; domains = ["devshell.rensa.projects.tf"]; }; }; Loading
nix/repo/flake.lock +21 −20 Original line number Diff line number Diff line { "nodes": { "mkdocs-material-umami": { "locked": { "lastModified": 1745840856, "narHash": "sha256-1Ad1JTMQMP6YsoIKAA+SBCE15qWrYkGue9/lXOLnu9I=", "owner": "technofab", "repo": "mkdocs-material-umami", "rev": "3ac9b194450f6b779c37b8d16fec640198e5cd0a", "type": "gitlab" }, "original": { "owner": "technofab", "repo": "mkdocs-material-umami", "type": "gitlab" } }, "nixmkdocs": { "locked": { "dir": "lib", "lastModified": 1755783537, "narHash": "sha256-78lWSC3UzkpWYsnyncqbrE37gEIWLzejOeDyoBb6h5o=", "lastModified": 1755785622, "narHash": "sha256-xBb9PCkszmrWSEqUiPC7oBJABm1thF572S5QHtloZ+M=", "owner": "TECHNOFAB", "repo": "nixmkdocs", "rev": "4fd5a351c54e005c4e8df7e23a8e4eec9d3b8cd1", "rev": "61da605a9bff12f66c4b743f43aea59ca200f533", "type": "gitlab" }, "original": { Loading Loading @@ -51,9 +36,25 @@ }, "root": { "inputs": { "mkdocs-material-umami": "mkdocs-material-umami", "nixmkdocs": "nixmkdocs", "nixtest-lib": "nixtest-lib" "nixtest-lib": "nixtest-lib", "treefmt-nix": "treefmt-nix" } }, "treefmt-nix": { "flake": false, "locked": { "lastModified": 1756662192, "narHash": "sha256-F1oFfV51AE259I85av+MAia221XwMHCOtZCMcZLK2Jk=", "owner": "numtide", "repo": "treefmt-nix", "rev": "1aabc6c05ccbcbf4a635fb7a90400e44282f61c4", "type": "github" }, "original": { "owner": "numtide", "repo": "treefmt-nix", "type": "github" } } }, Loading
nix/repo/flake.nix +6 −5 Original line number Diff line number Diff line Loading @@ -2,16 +2,17 @@ inputs = { nixtest-lib.url = "gitlab:TECHNOFAB/nixtest?dir=lib"; nixmkdocs.url = "gitlab:TECHNOFAB/nixmkdocs?dir=lib"; mkdocs-material-umami.url = "gitlab:technofab/mkdocs-material-umami"; treefmt-nix = { url = "github:numtide/treefmt-nix"; flake = false; }; }; outputs = i: i // { ntlib = i.nixtest-lib.lib {inherit (i.parent) pkgs;}; doclib = i.nixmkdocs.lib { inherit (i.parent) pkgs; inherit (i.parent.pkgs) lib; }; doclib = i.nixmkdocs.lib {inherit (i.parent) pkgs;}; devshell = import "${i.parent.self}/lib" {inherit (i.parent) pkgs;}; treefmt = import i.treefmt-nix; }; }