This commit is contained in:
Peder Bergebakken Sundt 2024-09-21 23:56:32 +02:00
parent 3f537af9db
commit b57cf3ae96
5 changed files with 8 additions and 3 deletions

View File

@ -28,7 +28,7 @@ update:
| gum choose --no-limit --height=15 \
| xargs nix flake update --commit-lock-file
build hostname=`if test -z "$IS_REMOTE_ENV"; then just _a_host; else echo; fi`:
build hostname=`if test -z "${IS_REMOTE_ENV:-}"; then just _a_host; else echo; fi`:
nixos-rebuild build --accept-flake-config --show-trace --flake .#"{{hostname}}"
build-no-remote-builders hostname=`if test -z "$IS_REMOTE_ENV"; then just _a_host; else echo; fi`:

View File

@ -27,6 +27,8 @@
ffmpegthumbnailer
libheif # HEIF thumbnails
gnomeExtensions.appindicator
desktop-file-utils # update-desktop-database
];
# an attempt to make nautilus discover new files, but it proved to be a freebsd-linux incompatiblity

View File

@ -8,7 +8,7 @@ in
#(lib.mapAttrsToList (domain: vhost: [ domain ] ++ vhost.serverAliases))
(lib.mapAttrsToList (domain: vhost: [ domain ]))
lib.flatten
(builtins.filter (domain: domain != ""))
(builtins.filter (domain: domain != "" && domain != "_"))
(lib.sort (x: y: x<y))
];

View File

@ -43,7 +43,7 @@ in
else if lib.hasAttrByPath [name "package"] config.services
then config.services.${name}.package.meta.description
else "";
mkRow = domain: ''<tr><td><a href="//${domain}">${getName domain}<span style=\"opacity: 0.65;\">.${getDomain domain}</span></a><td>${getDesc domain}'';
mkRow = domain: ''<tr><td><a href="//${domain}">${getName domain}<span style="opacity: 0.65;">.${getDomain domain}</span></a><td>${getDesc domain}'';
in pkgs.writeTextDir "index.html" ''
<!DOCTYPE html>
<table>

View File

@ -1,4 +1,7 @@
{ config, pkgs, lib, mkDomain, ... }:
lib.mkIf pkgs.unstable.cinny.meta.available # no CVE's thank you
{
# Cinny
# Yet another Matrix client for the web