Compare commits

...

2 Commits

Author SHA1 Message Date
Danila Fedorin 7f510b654a Update flake.lock
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2023-11-30 07:18:20 +00:00
Danila Fedorin a527e746d9 Fix the CORS header for static.danilafe.com
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2023-11-30 07:17:20 +00:00
2 changed files with 168 additions and 25 deletions

View File

@ -13,6 +13,11 @@ let
root = web-files;
forceSSL = true;
enableACME = true;
locations."/" = {
extraConfig = ''
add_header 'Access-Control-Allow-Origin' '*';
'';
};
};
};
allVirtualHosts = [webFiles] ++ map blog.virtualHostFor [productionSite draftSite];

View File

@ -3,7 +3,27 @@
"bergamot-elm": {
"inputs": {
"flake-utils": "flake-utils_5",
"nixpkgs": "nixpkgs_6"
"nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1701318122,
"narHash": "sha256-wOik1hcZ6xwTUQZmDo8cPB7tE0VoyQM99zUTjqB4xUI=",
"ref": "main",
"rev": "524796d74fbec2828bf3f8f3b7abd4c843d529b3",
"revCount": 33,
"type": "git",
"url": "https://dev.danilafe.com/Everything-I-Know-About-Types/bergamot-elm.git"
},
"original": {
"ref": "main",
"type": "git",
"url": "https://dev.danilafe.com/Everything-I-Know-About-Types/bergamot-elm.git"
}
},
"bergamot-elm_2": {
"inputs": {
"flake-utils": "flake-utils_7",
"nixpkgs": "nixpkgs_8"
},
"locked": {
"lastModified": 1701318122,
@ -26,14 +46,15 @@
"flake-utils": "flake-utils",
"katex-html": "katex-html",
"nixpkgs": "nixpkgs_3",
"resume": "resume"
"resume": "resume",
"web-files": "web-files"
},
"locked": {
"lastModified": 1681181670,
"narHash": "sha256-MsoGEzIKZHUjPAGzyADR/yROxarBWqUbZJdlX3vKm6Q=",
"lastModified": 1701328168,
"narHash": "sha256-4B27T289UjY7jP4BjJgsHivArpDYJopoThjfmlp3Grs=",
"ref": "master",
"rev": "ab4b92d031a4d46ad59f49e33f39e9d2ef7041f9",
"revCount": 116,
"rev": "aebf198ca8ab26c415b74d1e12b18e66e050c6cb",
"revCount": 117,
"type": "git",
"url": "https://dev.danilafe.com/Nix-Configs/blog-static-flake.git"
},
@ -45,11 +66,11 @@
"blog-source": {
"flake": false,
"locked": {
"lastModified": 1681105957,
"narHash": "sha256-9cjA5X5ZP4FkT48L2kHoujyB9l4WRnagdo5Sa+mKxHY=",
"lastModified": 1701325754,
"narHash": "sha256-phVjnTWDQ4jPYBMg00dvvbLzSYTsFZkzxVeZgNo3fPU=",
"ref": "master",
"rev": "a71c0c4e74d881af8631b17947ebe4bcb5c4ce0e",
"revCount": 634,
"rev": "5041c90ac01a154cc1ad5a13c43629894fa61bbd",
"revCount": 664,
"submodules": true,
"type": "git",
"url": "https://dev.danilafe.com/Web-Projects/blog-static.git"
@ -156,6 +177,42 @@
"type": "github"
}
},
"flake-utils_7": {
"inputs": {
"systems": "systems_3"
},
"locked": {
"lastModified": 1694529238,
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_8": {
"inputs": {
"systems": "systems_4"
},
"locked": {
"lastModified": 1694529238,
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"katex-html": {
"inputs": {
"flake-utils": "flake-utils_2",
@ -258,11 +315,11 @@
},
"nixpkgs_5": {
"locked": {
"lastModified": 1648069223,
"narHash": "sha256-BXzQV8p/RR440EB9qY0ULYfTH0zSW1stjUCYeP4SF+E=",
"lastModified": 1701068326,
"narHash": "sha256-vmMceA+q6hG1yrjb+MP8T0YFDQIrW3bl45e7z24IEts=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "1d08ea2bd83abef174fb43cbfb8a856b8ef2ce26",
"rev": "8cfef6986adfb599ba379ae53c9f5631ecd2fd9c",
"type": "github"
},
"original": {
@ -273,6 +330,21 @@
}
},
"nixpkgs_6": {
"locked": {
"lastModified": 1701319520,
"narHash": "sha256-xVghb4ELbEtJUdEmB4PR+sq/aoNP0VEcM6GczDh+Zss=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "db77de49336382a33b9490a88ba3fe483e2b605f",
"type": "github"
},
"original": {
"owner": "nixos",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_7": {
"locked": {
"lastModified": 1701068326,
"narHash": "sha256-vmMceA+q6hG1yrjb+MP8T0YFDQIrW3bl45e7z24IEts=",
@ -288,7 +360,23 @@
"type": "github"
}
},
"nixpkgs_7": {
"nixpkgs_8": {
"locked": {
"lastModified": 1701068326,
"narHash": "sha256-vmMceA+q6hG1yrjb+MP8T0YFDQIrW3bl45e7z24IEts=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "8cfef6986adfb599ba379ae53c9f5631ecd2fd9c",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_9": {
"locked": {
"lastModified": 1701319520,
"narHash": "sha256-xVghb4ELbEtJUdEmB4PR+sq/aoNP0VEcM6GczDh+Zss=",
@ -309,11 +397,11 @@
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1676875551,
"narHash": "sha256-DIcIlMWh9exQIXISxgnS25egwIquyuZX+UqdTMJpJZA=",
"lastModified": 1691357458,
"narHash": "sha256-kFdV5FUPCW7xNS8xonzHb8MgVjwu0PR5rZNuAQQE7Yw=",
"ref": "master",
"rev": "36fcd6d66fe2031d7429f8d60d5f83d64fd94cca",
"revCount": 47,
"rev": "c756fd5efaeb7d4484d535cd2fe3038491fc2550",
"revCount": 57,
"type": "git",
"url": "https://dev.danilafe.com/DanilaFe/resume"
},
@ -325,8 +413,8 @@
"root": {
"inputs": {
"blog": "blog",
"nixpkgs": "nixpkgs_5",
"web-files": "web-files"
"nixpkgs": "nixpkgs_7",
"web-files": "web-files_2"
}
},
"systems": {
@ -359,18 +447,68 @@
"type": "github"
}
},
"systems_3": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_4": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"web-files": {
"inputs": {
"bergamot-elm": "bergamot-elm",
"flake-utils": "flake-utils_6",
"nixpkgs": "nixpkgs_7"
"nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1701320080,
"narHash": "sha256-R5ydINHKWun80dTD7LGeI5IQvFXNkBpV242k4ZEXq/U=",
"lastModified": 1701324990,
"narHash": "sha256-8R8XiWVhdm3WOu/VxLxKfRYiVDiWMx72F3w0G4ALfFA=",
"ref": "master",
"rev": "aae85e76286a8e70eb2ecc295bc819043ff9eb23",
"revCount": 2,
"rev": "0724cfe43cf9e4a6abadaac87174e6fecc391b2b",
"revCount": 4,
"type": "git",
"url": "https://dev.danilafe.com/Nix-Configs/web-files.git"
},
"original": {
"type": "git",
"url": "https://dev.danilafe.com/Nix-Configs/web-files.git"
}
},
"web-files_2": {
"inputs": {
"bergamot-elm": "bergamot-elm_2",
"flake-utils": "flake-utils_8",
"nixpkgs": "nixpkgs_9"
},
"locked": {
"lastModified": 1701324990,
"narHash": "sha256-8R8XiWVhdm3WOu/VxLxKfRYiVDiWMx72F3w0G4ALfFA=",
"ref": "master",
"rev": "0724cfe43cf9e4a6abadaac87174e6fecc391b2b",
"revCount": 4,
"type": "git",
"url": "https://dev.danilafe.com/Nix-Configs/web-files.git"
},