diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-06-15 15:43:45 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-06-15 15:59:27 +0530 |
| commit | 926f411a4c703cab001d64b7f8b9701b79a7dc5c (patch) | |
| tree | a95b94fe0061309b6b422c1c889f9595de439c53 /build.sh | |
| parent | 03d52d1317af446c513c0257f8c497fed2bfbad8 (diff) | |
| download | homeserver-nixos-config-926f411a4c703cab001d64b7f8b9701b79a7dc5c.tar.gz homeserver-nixos-config-926f411a4c703cab001d64b7f8b9701b79a7dc5c.zip | |
Refactor settings management + dashboard links
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -48,8 +48,7 @@ chaincmds() { } gen_test_dash() { - nix eval --impure \ - --expr 'import ./modules/dashboard/dashboard-template.nix { title = "Dashboard"; links = [{ title = "Google"; url = "https://google.com"; altUrl = "http://foobar.com"; key = "g"; } { title = "DuckDuckGo"; url = "https://duckduckgo.com"; key = "d"; color = "#4c82cf"; } { title = "Google"; url = "https://google.com"; altUrl = "http://foobar.com"; key = "g"; } { title = "Google"; url = "https://google.com"; altUrl = "http://foobar.com"; key = "g"; }]; }' \ + nix eval --impure --expr 'import ./scripts/generate-test-dashboard.nix' \ | jq -r > index.ignore.html } open_test_dash() { brave "file://$PWD/index.ignore.html"; } |
