forked from clan/clan-infra
homepage: deprecate deployment instructions
now lives at clan/clan-homepage
This commit is contained in:
parent
cad4813200
commit
3742ec99b9
@ -24,11 +24,3 @@ $ ./tf.sh apply
|
|||||||
$ cd ./targets/web01
|
$ cd ./targets/web01
|
||||||
$ ./tf.sh apply
|
$ ./tf.sh apply
|
||||||
```
|
```
|
||||||
|
|
||||||
## To update the website
|
|
||||||
|
|
||||||
```
|
|
||||||
$ cd ./targets/web01
|
|
||||||
$ nix flake lock --update-input homepage --commit-lock-file
|
|
||||||
$ ./tf.sh apply
|
|
||||||
```
|
|
||||||
|
24
flake.lock
24
flake.lock
@ -40,29 +40,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"homepage": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-parts": [
|
|
||||||
"flake-parts"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1689268066,
|
|
||||||
"narHash": "sha256-WyQEy6BB33liJy2BbTTCfmYVw3Ai/LxbOua2fM2Eyw4=",
|
|
||||||
"ref": "refs/heads/main",
|
|
||||||
"rev": "72d688391adaddad89bacbd2e6d373cbed5ff13f",
|
|
||||||
"revCount": 16,
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://git.clan.lol/clan/clan-homepage"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://git.clan.lol/clan/clan-homepage"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"lowdown-src": {
|
"lowdown-src": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
@ -123,7 +100,6 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"disko": "disko",
|
"disko": "disko",
|
||||||
"flake-parts": "flake-parts",
|
"flake-parts": "flake-parts",
|
||||||
"homepage": "homepage",
|
|
||||||
"nix": "nix",
|
"nix": "nix",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"sops-nix": "sops-nix",
|
"sops-nix": "sops-nix",
|
||||||
|
@ -17,10 +17,6 @@
|
|||||||
disko.url = "github:nix-community/disko";
|
disko.url = "github:nix-community/disko";
|
||||||
disko.inputs.nixpkgs.follows = "nixpkgs";
|
disko.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
homepage.url = "git+https://git.clan.lol/clan/clan-homepage";
|
|
||||||
homepage.inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
homepage.inputs.flake-parts.follows = "flake-parts";
|
|
||||||
|
|
||||||
sops-nix.url = "github:Mic92/sops-nix";
|
sops-nix.url = "github:Mic92/sops-nix";
|
||||||
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
|
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
sops-nix.inputs.nixpkgs-stable.follows = "";
|
sops-nix.inputs.nixpkgs-stable.follows = "";
|
||||||
@ -74,7 +70,6 @@
|
|||||||
]))
|
]))
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
homepage = inputs'.homepage.packages.default;
|
|
||||||
inherit (pkgs.callPackage ./pkgs/renovate { }) renovate;
|
inherit (pkgs.callPackage ./pkgs/renovate { }) renovate;
|
||||||
} // lib.optionalAttrs (!pkgs.stdenv.isDarwin) {
|
} // lib.optionalAttrs (!pkgs.stdenv.isDarwin) {
|
||||||
gitea = pkgs.callPackage ./pkgs/gitea { };
|
gitea = pkgs.callPackage ./pkgs/gitea { };
|
||||||
|
@ -6,7 +6,8 @@
|
|||||||
virtualHosts."clan.lol" = {
|
virtualHosts."clan.lol" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
root = self.inputs.homepage.packages.${pkgs.system}.default;
|
# to be deployed via rsync
|
||||||
|
root = "/var/www";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
charset utf-8;
|
charset utf-8;
|
||||||
source_charset utf-8;
|
source_charset utf-8;
|
||||||
|
Loading…
Reference in New Issue
Block a user