hopefully fix mastodon
parent
1ec8d8517b
commit
20ed609d40
|
@ -5,7 +5,7 @@ in {
|
|||
options.programs.v.rust = { enable = mkEnableOption "rust"; };
|
||||
config = mkIf cfg.enable {
|
||||
home = {
|
||||
packages = with pkgs; [ rustup cargo-nextest cargo-msrv ];
|
||||
packages = with pkgs; [ rustup cargo-nextest cargo-msrv cargo-dist cargo-cross];
|
||||
|
||||
file = {
|
||||
".cargo/config.toml".text = ''
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ pkgs, ... }: {
|
||||
# The block that specifies my user account.
|
||||
users.extraUsers.vivian = {
|
||||
uid = 1000;
|
||||
# This account is intended for a non-system user.
|
||||
isNormalUser = true;
|
||||
|
||||
|
|
|
@ -52,6 +52,10 @@ in
|
|||
locations."= /.well-known/host-meta".extraConfig = ''
|
||||
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";
|
||||
"git.xirion.net" = proxy "http://10.10.10.12";
|
||||
|
|
Loading…
Reference in New Issue