hopefully fix mastodon
Some checks failed
Lint / lint (push) Failing after 1m34s
Plex Update / update (push) Successful in 1m45s

This commit is contained in:
Vivian 2023-12-09 10:31:06 +01:00
parent 1ec8d8517b
commit 20ed609d40
3 changed files with 5 additions and 2 deletions

View file

@ -5,7 +5,7 @@ in {
options.programs.v.rust = { enable = mkEnableOption "rust"; }; options.programs.v.rust = { enable = mkEnableOption "rust"; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
home = { home = {
packages = with pkgs; [ rustup cargo-nextest cargo-msrv ]; packages = with pkgs; [ rustup cargo-nextest cargo-msrv cargo-dist cargo-cross];
file = { file = {
".cargo/config.toml".text = '' ".cargo/config.toml".text = ''

View file

@ -1,7 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }: {
# The block that specifies my user account. # The block that specifies my user account.
users.extraUsers.vivian = { users.extraUsers.vivian = {
uid = 1000;
# This account is intended for a non-system user. # This account is intended for a non-system user.
isNormalUser = true; isNormalUser = true;

View file

@ -52,6 +52,10 @@ in
locations."= /.well-known/host-meta".extraConfig = '' locations."= /.well-known/host-meta".extraConfig = ''
return 301 https://fedi.xirion.net$request_uri; return 301 https://fedi.xirion.net$request_uri;
''; '';
locations."/.well-known/webfinger".extraConfig = ''
add_header Access-Control-Allow-Origin '*';
return 301 https://fedi.xirion.net$request_uri;
'';
}; };
# virtualHosts."blog.xirion.net" = proxy "http://10.10.10.12"; # virtualHosts."blog.xirion.net" = proxy "http://10.10.10.12";
"git.xirion.net" = proxy "http://10.10.10.12"; "git.xirion.net" = proxy "http://10.10.10.12";