Compare commits

...

3 commits

Author SHA1 Message Date
Joseph DiGiovanni f1704cfb21 Add custom package hdl-dump-beta 2024-08-04 23:03:42 -04:00
Joseph DiGiovanni 7c8796ec01 Change console font 2024-08-04 22:42:22 -04:00
Joseph DiGiovanni f39c163c6a Update flake 2024-08-04 22:42:22 -04:00
5 changed files with 47 additions and 14 deletions

View file

@ -10,6 +10,7 @@ let
};
gpu-screen-recorder = final.unstable.gpu-screen-recorder;
hdl-dump-beta = callPackage ./hdl-dump-beta.nix { };
icoextract = final.unstable.icoextract; #TODO: remove in next release
mkvextract-gtk = callPackage ./mkvextract-gtk.nix { };
};

View file

@ -0,0 +1,31 @@
{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "hdl-dump";
version = "unstable-2022-09-19";
src = fetchFromGitHub {
owner = "ps2homebrew";
repo = pname;
rev = "32c296c69cf9c263fcbe035004aa28c345b3b279";
hash = "sha256-eBqF4OGEaLQXQ4JMtD/Yn+f97RzKVsnC+4oyiEhLTUM=";
};
makeFlags = [ "RELEASE=yes" ];
installPhase = ''
install -Dm755 hdl_dump -t $out/bin
'';
meta = with lib; {
homepage = "https://github.com/ps2homebrew/hdl-dump";
description = "PlayStation 2 HDLoader image dump/install utility";
platforms = platforms.linux;
license = licenses.gpl2Only;
maintainers = with maintainers; [ makefu ];
mainProgram = "hdl_dump";
};
}

View file

@ -232,11 +232,11 @@
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1722388556,
"narHash": "sha256-90/qzsfqtXbHk3vshBQkJdymG/IY7S6RqqYpQU2GB8Y=",
"lastModified": 1722648499,
"narHash": "sha256-GRZDqWF+q3hFiVv4+B5uxAoxhyoGipagt8jiUOtJFkY=",
"owner": "nix-community",
"repo": "nix-vscode-extensions",
"rev": "af75b047c7e12cbd5484190900e6216b5ebe68e2",
"rev": "a6df283f4762b079b4d09b25acb1d9bd95f6a472",
"type": "github"
},
"original": {
@ -279,11 +279,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1722185531,
"narHash": "sha256-veKR07psFoJjINLC8RK4DiLniGGMgF3QMlS4tb74S6k=",
"lastModified": 1722421184,
"narHash": "sha256-/DJBI6trCeVnasdjUo9pbnodCLZcFqnVZiLUfqLH4jA=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "52ec9ac3b12395ad677e8b62106f0b98c1f8569d",
"rev": "9f918d616c5321ad374ae6cb5ea89c9e04bf3e58",
"type": "github"
},
"original": {
@ -311,11 +311,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1722221733,
"narHash": "sha256-sga9SrrPb+pQJxG1ttJfMPheZvDOxApFfwXCFO0H9xw=",
"lastModified": 1722519197,
"narHash": "sha256-VEdJmVU2eLFtLqCjTYJd1J7+Go8idAcZoT11IewFiRg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "12bf09802d77264e441f48e25459c10c93eada2e",
"rev": "05405724efa137a0b899cce5ab4dde463b4fd30b",
"type": "github"
},
"original": {

View file

@ -4,9 +4,9 @@
dconf.settings = {
"org/gnome/Console" =
let
fontSize = 10;
fontWidth = fontSize * 0.8;
lineSpacing = fontSize * 0.4 * 2; # Each line has a space of 0.4em above and below it
fontSize = 12;
fontWidth = 8;
lineSpacing = 2 * 2; # Each line has a space above and below it
terminalMode = {
# Based on VT100 video modes
@ -19,11 +19,11 @@
terminalSize = terminalMode.extended;
in
{
custom-font = "Source Code Pro " + toString fontSize;
custom-font = "Unifont " + toString fontSize;
last-window-size = with builtins; lib.hm.gvariant.mkTuple [
(ceil ((elemAt terminalSize 0 * fontWidth) + 12))
(ceil ((elemAt terminalSize 1 * (fontSize + lineSpacing)) + 48))
(ceil (((elemAt terminalSize 1 + .5) * (fontSize + lineSpacing)) + 48))
];
theme = "night";

View file

@ -9,6 +9,7 @@
discord
element-desktop
gimp
hdl-dump-beta
neovim
obs-studio
onlyoffice-bin