Compare commits

..

No commits in common. "da0324ccf97c279eff32abb566df8f23f09fc503" and "6a87dd7211df23395851c88061f6d196e89ddf5a" have entirely different histories.

4 changed files with 5 additions and 26 deletions

View file

@ -70,6 +70,8 @@ in
neovim neovim
ripgrep ripgrep
wget wget
ghostty.terminfo
]; ];
hm = { hm = {

View file

@ -1,5 +1,4 @@
{ {
pkgs,
config, config,
_utils, _utils,
... ...
@ -23,10 +22,6 @@ in
hermetic = false; # hermetic fucks up for cross-system deployments hermetic = false; # hermetic fucks up for cross-system deployments
}; };
environment.systemPackages = with pkgs; [
ghostty.terminfo
];
services = { services = {
tailscale.extraUpFlags = [ "--advertise-exit-node" ]; tailscale.extraUpFlags = [ "--advertise-exit-node" ];

View file

@ -1,4 +1,4 @@
{ lib, pkgs, ... }: { lib, ... }:
{ {
setupSecrets = setupSecrets =
_config: _config:
@ -96,19 +96,4 @@
} }
]; ];
}; };
# shamelessly stolen from soopyc's gensokyo
mkNginxFile =
{
filename ? "index.html",
content,
status ? 200,
}:
{
# gets the store path of the directory in which the file is contained
# we have to use writeTextDir because we don't want to expose the whole nix store to nginx
# and because you can't just return an absolute path to a file
alias = builtins.toString (pkgs.writeTextDir filename content) + "/";
tryFiles = "${filename} =${builtins.toString status}";
};
} }

View file

@ -4,7 +4,7 @@
... ...
}: }:
let let
mkUtils = import ../global/utils.nix; _utils = import ../global/utils.nix { inherit lib; };
toSystem = toSystem =
name: name:
@ -24,10 +24,7 @@ let
]; ];
specialArgs = inputs // { specialArgs = inputs // {
_utils = mkUtils { inherit _utils;
inherit lib;
pkgs = inputs.nixpkgs.legacyPackages.${system};
};
}; };
}; };
in in