Merge pull request 'matrix: init stickerpicker' (#181) from feat/matrix-stickerpicker into main
Reviewed-on: #181 Reviewed-by: Hendrik Sokolowski <hensoko@noreply.git.pub.solar>
This commit is contained in:
commit
aa7ab4bc6b
45
flake.lock
45
flake.lock
|
@ -71,6 +71,30 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"element-stickers": {
|
||||||
|
"inputs": {
|
||||||
|
"maunium-stickerpicker": [
|
||||||
|
"maunium-stickerpicker"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1714430716,
|
||||||
|
"narHash": "sha256-+WmgGbONe5u2wpvkUC5wNhYnrE6eziIv3Liq4pv7jro=",
|
||||||
|
"ref": "main",
|
||||||
|
"rev": "85716a9e30fb6fae47336ed0cae3d1425c80f17c",
|
||||||
|
"revCount": 6,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.pub.solar/pub-solar/maunium-stickerpicker-nix"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"ref": "main",
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.pub.solar/pub-solar/maunium-stickerpicker-nix"
|
||||||
|
}
|
||||||
|
},
|
||||||
"element-themes": {
|
"element-themes": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
@ -217,6 +241,25 @@
|
||||||
"url": "https://git.pub.solar/pub-solar/keycloak-theme"
|
"url": "https://git.pub.solar/pub-solar/keycloak-theme"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"maunium-stickerpicker": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"dir": "web",
|
||||||
|
"lastModified": 1668509918,
|
||||||
|
"narHash": "sha256-5Kbok9vJIlOti+ikpJXv2skdADhQQTjX5mVmBTM0wGU=",
|
||||||
|
"owner": "maunium",
|
||||||
|
"repo": "stickerpicker",
|
||||||
|
"rev": "f59406a47a6778cd402e656ffb64f667335f665a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"dir": "web",
|
||||||
|
"owner": "maunium",
|
||||||
|
"ref": "master",
|
||||||
|
"repo": "stickerpicker",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nix-darwin": {
|
"nix-darwin": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -301,10 +344,12 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
"deploy-rs": "deploy-rs",
|
"deploy-rs": "deploy-rs",
|
||||||
|
"element-stickers": "element-stickers",
|
||||||
"element-themes": "element-themes",
|
"element-themes": "element-themes",
|
||||||
"flake-parts": "flake-parts",
|
"flake-parts": "flake-parts",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"keycloak-theme-pub-solar": "keycloak-theme-pub-solar",
|
"keycloak-theme-pub-solar": "keycloak-theme-pub-solar",
|
||||||
|
"maunium-stickerpicker": "maunium-stickerpicker",
|
||||||
"nix-darwin": "nix-darwin",
|
"nix-darwin": "nix-darwin",
|
||||||
"nixos-flake": "nixos-flake",
|
"nixos-flake": "nixos-flake",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
|
|
|
@ -31,6 +31,13 @@
|
||||||
|
|
||||||
element-themes.url = "github:aaronraimist/element-themes/master";
|
element-themes.url = "github:aaronraimist/element-themes/master";
|
||||||
element-themes.flake = false;
|
element-themes.flake = false;
|
||||||
|
|
||||||
|
maunium-stickerpicker.url = "github:maunium/stickerpicker?ref=master&dir=web";
|
||||||
|
maunium-stickerpicker.flake = false;
|
||||||
|
|
||||||
|
element-stickers.url = "git+https://git.pub.solar/pub-solar/maunium-stickerpicker-nix?ref=main";
|
||||||
|
element-stickers.inputs.maunium-stickerpicker.follows = "maunium-stickerpicker";
|
||||||
|
element-stickers.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs@{ self, ... }:
|
outputs = inputs@{ self, ... }:
|
||||||
|
|
|
@ -76,6 +76,12 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"stickers.chat.pub.solar" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
root = pkgs.element-stickerpicker;
|
||||||
|
};
|
||||||
|
|
||||||
"matrix.pub.solar" = {
|
"matrix.pub.solar" = {
|
||||||
root = "/dev/null";
|
root = "/dev/null";
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
{
|
{
|
||||||
forgejo-runner = unstable.forgejo-runner;
|
forgejo-runner = unstable.forgejo-runner;
|
||||||
element-themes = prev.callPackage ./pkgs/element-themes { inherit (inputs) element-themes; };
|
element-themes = prev.callPackage ./pkgs/element-themes { inherit (inputs) element-themes; };
|
||||||
|
element-stickerpicker = prev.callPackage ./pkgs/element-stickerpicker { inherit (inputs) element-stickers maunium-stickerpicker; };
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
9
overlays/pkgs/element-stickerpicker/default.nix
Normal file
9
overlays/pkgs/element-stickerpicker/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{ stdenvNoCC, element-stickers, maunium-stickerpicker }:
|
||||||
|
stdenvNoCC.mkDerivation {
|
||||||
|
src = maunium-stickerpicker;
|
||||||
|
name = "element-stickers";
|
||||||
|
buildPhase = ''
|
||||||
|
mv web $out/
|
||||||
|
cp ${element-stickers}/uploaded-packs/*.json $out/packs/
|
||||||
|
'';
|
||||||
|
}
|
|
@ -100,6 +100,11 @@ resource "namecheap_domain_records" "pub-solar" {
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
address = "nachtigall.pub.solar."
|
address = "nachtigall.pub.solar."
|
||||||
}
|
}
|
||||||
|
record {
|
||||||
|
hostname = "stickers.chat"
|
||||||
|
type = "CNAME"
|
||||||
|
address = "nachtigall.pub.solar."
|
||||||
|
}
|
||||||
record {
|
record {
|
||||||
hostname = "wiki"
|
hostname = "wiki"
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
|
|
Loading…
Reference in a new issue