Compare commits

..

No commits in common. "7967a123864b5cf6095e19913a5b2208ff7cb235" and "0be980e7635b0a75dbed5a14939f5437f8d42899" have entirely different histories.

8 changed files with 13 additions and 30 deletions

View file

@ -4,7 +4,6 @@
profiles."default" = {
extraConfig = ''
${builtins.readFile (pkgs.fetchurl {
# FIXME: IFD
url = "https://raw.githubusercontent.com/arkenfox/user.js/126.1/user.js";
hash = "sha256-XRtG0iLKh8uqbeX7Rc2H6VJwZYJoNZPBlAfZEfrSCP4=";
})}

View file

@ -5,7 +5,6 @@
}: {
programs.starship = {
enable = true;
# FIXME: IFD
settings = lib.importTOML "${pkgs.starship}/share/starship/presets/nerd-font-symbols.toml";
};
}

View file

@ -5,7 +5,6 @@
isDefault = true;
extraConfig = ''
${builtins.readFile (pkgs.fetchurl {
# FIXME: IFD
url = "https://raw.githubusercontent.com/HorlogeSkynet/thunderbird-user.js/d6b18302e46349d9924c8a76951bae6efca51501/user.js";
hash = "sha256-66B1yLQkQnydAUXD7KGt32OhWSYcdWX+BUozrgW9uAg=";
})}

View file

@ -54,6 +54,5 @@
programs.adb.enable = true;
# fucking hell
# FIXME: IFD
programs.anime-game-launcher.enable = true;
}

View file

@ -85,19 +85,11 @@
src = ./Caddyfile;
"element" = pkgs.element-web.override {
element-web-unwrapped = pkgs.element-web-unwrapped.overrideAttrs (oldAttrs: {
version = "1.11.69-rc.1";
src = oldAttrs.src.overrideAttrs {
outputHash = "sha256-vL21wTI9qeIhrFdbI0WsehVy0ZLBj9rayuQnTPC7k8g=";
};
offlineCache = oldAttrs.offlineCache.overrideAttrs {
outputHash = "sha256-nZWclW2tEq7vPRPG5zzhYfExVnmPxYDm8DxME5w5ORI=";
};
});
conf.default_server_config."m.homeserver" = {
conf.default_server_config."m.homeserver" = let
inherit (config.services.matrix-synapse) settings;
in {
base_url = "https://matrix.ny4.dev";
server_name = "ny4.dev";
inherit (settings) server_name;
};
};

View file

@ -7,7 +7,7 @@
makeScript {
name = "lofi";
runtimeInputs = [coreutils mpv];
src = fetchurl {
file = fetchurl {
url = "https://raw.githubusercontent.com/lime-desu/bin/69422c37582c5914863997c75c268791a0de136e/lofi";
hash = "sha256-hT+S/rqOHUYnnFcSDFfQht4l1DGasz1L3wDHKUWLraA=";
};

View file

@ -1,21 +1,16 @@
# trimmed down version of writeShellApplication
# https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/trivial-builders/default.nix#L245
{
lib,
runtimeShell,
writeScriptBin,
runCommandNoCCLocal,
makeBinaryWrapper,
}: {
name,
src,
file,
runtimeInputs ? [],
}:
# FIXME: incorrect argv0
runCommandNoCCLocal name {
inherit src;
nativeBuildInputs = [makeBinaryWrapper];
} ''
install -Dm755 $src $out/bin/.$name
makeBinaryWrapper ${runtimeShell} $out/bin/$name \
--add-flags $out/bin/.$name \
--prefix PATH : ${lib.makeBinPath runtimeInputs}
writeScriptBin name ''
#!${runtimeShell}
${lib.optionalString (runtimeInputs != []) ''export PATH="${lib.makeBinPath runtimeInputs}:$PATH"''}
${builtins.readFile file}
''

View file

@ -12,7 +12,7 @@
makeScript {
name = "screenshot";
runtimeInputs = [coreutils jq grim slurp swappy wl-clipboard libnotify];
src = fetchurl {
file = fetchurl {
url = "https://raw.githubusercontent.com/nwg-piotr/nwg-shell/c29e8eb4658a2613fb221ead0b101c75f457bcaf/scripts/screenshot";
hash = "sha256-Z/fWloz8pLHsvPTPOeBxnbMsGDRTY3G3l/uePQ3ZxjU=";
postFetch = ''