File tree 3 files changed +43
-15
lines changed
services/misskey/examples
3 files changed +43
-15
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ {
2
+ lib ,
3
+ pkgs ,
4
+ sources ,
5
+ } @args :
6
+
7
+ {
8
+ metadata = {
9
+ summary = "Misskey is a decentralized and open source microblogging platform" ;
10
+ subgrants = [
11
+ "Misskey"
12
+ ] ;
13
+ } ;
14
+
15
+ nixos . modules . services = {
16
+ misskey = {
17
+ name = "Misskey" ;
18
+ module = "${ sources . inputs . nixpkgs } /nixos/modules/services/web-apps/misskey.nix" ;
19
+ examples . basic = {
20
+ module = ./services/misskey/examples/basic.nix ;
21
+ description = "" ;
22
+ tests . misskey = "${ sources . inputs . nixpkgs } /nixos/tests/misskey.nix" ;
23
+ } ;
24
+ } ;
25
+ } ;
26
+ }
Original file line number Diff line number Diff line change
1
+ { config , pkgs , ... } :
2
+ let
3
+ port = 61812 ;
4
+ in
5
+ {
6
+ services . misskey = {
7
+ enable = true ;
8
+
9
+ settings = {
10
+ url = "http://misskey.local" ;
11
+ inherit port ;
12
+ } ;
13
+
14
+ database . createLocally = true ;
15
+ redis . createLocally = true ;
16
+ } ;
17
+ }
You can’t perform that action at this time.
0 commit comments