Minor updates

This commit is contained in:
Ingolf Wagner 2024-06-17 11:52:14 +02:00
parent dc5c3b62de
commit 119ee899d9
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
4 changed files with 6 additions and 29 deletions

View file

@ -7,29 +7,7 @@ let
# maybe ascii-image-converter is also nice here # maybe ascii-image-converter is also nice here
sshBanner = pkgs.runCommand "ssh-banner" sshBanner = pkgs.runCommand "ssh-banner"
{ { nativeBuildInputs = [ pkgs.boxes ]; } ''
nativeBuildInputs = [
(pkgs.boxes.overrideAttrs (old: rec {
version = "2.3.0";
src = pkgs.fetchFromGitHub {
owner = "ascii-boxes";
repo = "boxes";
rev = "v${version}";
sha256 = "sha256-/gc/5vDflmEwOtQbtLwRcchyr22rLQcWqs5GrwRxY70=";
};
nativeBuildInputs = old.nativeBuildInputs ++ [
pkgs.libunistring
pkgs.pcre2
pkgs.ncurses
];
installPhase = ''
install -Dm755 -t $out/bin out/boxes
install -Dm644 -t $out/share/boxes boxes-config
install -Dm644 -t $out/share/man/man1 doc/boxes.1
'';
}))
];
} ''
echo "${config.networking.hostName}" | boxes -d ansi -s 80x1 -a r > $out echo "${config.networking.hostName}" | boxes -d ansi -s 80x1 -a r > $out
''; '';

View file

@ -863,11 +863,11 @@
}, },
"private_assets": { "private_assets": {
"locked": { "locked": {
"lastModified": 1718464398, "lastModified": 1718617829,
"narHash": "sha256-iw5jhVDRo6m1Q+2Looxtt2ttLtgazbrkcrN3aTtYib4=", "narHash": "sha256-pDupyj5/A52RqyWiSPVy1NlupFm9gqT+3vrP2fjkWP4=",
"ref": "main", "ref": "main",
"rev": "d62f54771b324d74e15404c2565b25541ec9a4ff", "rev": "73ae5a992c9251ed5165a5cdc29ed1a9cdd36091",
"revCount": 26, "revCount": 27,
"type": "git", "type": "git",
"url": "ssh://forgejo@git.ingolf-wagner.de/palo/nixos-private-assets.git" "url": "ssh://forgejo@git.ingolf-wagner.de/palo/nixos-private-assets.git"
}, },

View file

@ -1 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDNOdK+3LlS+UObocReWlvs4nRPnNFups27PG95Ty/8O nixbld@cream ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIArokGctZ2VLf92FhfE8pHzkx/bjz0/J1QjeaGgDSj1s ingolf.wagner@jobrad.org

View file

@ -36,6 +36,5 @@
{ {
enable = true; enable = true;
virtualHosts. "flix.ingolf-wagner.de" = flixConfig; virtualHosts. "flix.ingolf-wagner.de" = flixConfig;
#virtualHosts. "video.ingolf-wagner.de" = flixConfig;
}; };
} }