Compare commits
2 Commits
310baa563b
...
d24585dab1
Author | SHA1 | Date | |
---|---|---|---|
d24585dab1 | |||
5366bf95eb |
@ -5,7 +5,7 @@
|
|||||||
virtualisation.oci-containers = {
|
virtualisation.oci-containers = {
|
||||||
containers = {
|
containers = {
|
||||||
home-assistant = {
|
home-assistant = {
|
||||||
image = "ghcr.io/home-assistant/home-assistant:2022.3.0";
|
image = "ghcr.io/home-assistant/home-assistant:2022.3.7";
|
||||||
volumes =
|
volumes =
|
||||||
[ "/var/lib/hass:/config" "/etc/localtime:/etc/localtime:ro" ];
|
[ "/var/lib/hass:/config" "/etc/localtime:/etc/localtime:ro" ];
|
||||||
extraOptions = [ "--privileged" "--network=host" ];
|
extraOptions = [ "--privileged" "--network=host" ];
|
||||||
|
@ -16,30 +16,36 @@
|
|||||||
|
|
||||||
matrix-synapse = {
|
matrix-synapse = {
|
||||||
enable = true;
|
enable = true;
|
||||||
server_name = "walkah.chat";
|
settings = {
|
||||||
public_baseurl = "https://matrix.walkah.chat";
|
server_name = "walkah.chat";
|
||||||
enable_metrics = true;
|
public_baseurl = "https://matrix.walkah.chat";
|
||||||
enable_registration = false;
|
enable_metrics = true;
|
||||||
database_type = "psycopg2";
|
enable_registration = false;
|
||||||
database_args = { database = "matrix"; };
|
database = {
|
||||||
listeners = [{
|
name = "psycopg2";
|
||||||
port = 8008;
|
args = { database = "matrix"; };
|
||||||
type = "http";
|
};
|
||||||
tls = false;
|
account_threepid_delegates = {
|
||||||
x_forwarded = true;
|
email = "https://vector.im";
|
||||||
resources = [{
|
msisdn = "https://vector.im";
|
||||||
compress = false;
|
};
|
||||||
names = [ "client" "federation" ];
|
listeners = [{
|
||||||
|
bind_addresses = [
|
||||||
|
"0.0.0.0"
|
||||||
|
];
|
||||||
|
port = 8008;
|
||||||
|
type = "http";
|
||||||
|
tls = false;
|
||||||
|
x_forwarded = true;
|
||||||
|
resources = [{
|
||||||
|
compress = false;
|
||||||
|
names = [ "client" "federation" ];
|
||||||
|
}];
|
||||||
}];
|
}];
|
||||||
}];
|
};
|
||||||
extraConfigFiles = [
|
extraConfigFiles = [
|
||||||
config.sops.secrets.matrix-registration-secret.path
|
config.sops.secrets.matrix-registration-secret.path
|
||||||
];
|
];
|
||||||
|
|
||||||
account_threepid_delegates = {
|
|
||||||
email = "https://vector.im";
|
|
||||||
msisdn = "https://vector.im";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -5,10 +5,10 @@
|
|||||||
"homepage": "https://nix-community.github.io/home-manager/",
|
"homepage": "https://nix-community.github.io/home-manager/",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "ea85f4b1fdf3f25cf97dc49f4a9ec4eafda2ea25",
|
"rev": "ac9404115362c901ffe5c5c215f76f74b79d5eda",
|
||||||
"sha256": "0hrcm5brnqq16mqjj6pckpzbyy9vi6n37nqyj0qxjgjvbxhghyga",
|
"sha256": "1pvpqplls0vapg7f6p9pxkhmsid1zpj40r6fshch2lvl8q1x3bd1",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://github.com/nix-community/home-manager/archive/ea85f4b1fdf3f25cf97dc49f4a9ec4eafda2ea25.tar.gz",
|
"url": "https://github.com/nix-community/home-manager/archive/ac9404115362c901ffe5c5c215f76f74b79d5eda.tar.gz",
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
},
|
},
|
||||||
"niv": {
|
"niv": {
|
||||||
@ -17,10 +17,10 @@
|
|||||||
"homepage": "https://github.com/nmattia/niv",
|
"homepage": "https://github.com/nmattia/niv",
|
||||||
"owner": "nmattia",
|
"owner": "nmattia",
|
||||||
"repo": "niv",
|
"repo": "niv",
|
||||||
"rev": "9cb7ef336bb71fd1ca84fc7f2dff15ef4b033f2a",
|
"rev": "5912c378c2f87e911f1bc7236202f69581406c9d",
|
||||||
"sha256": "1ajyqr8zka1zlb25jx1v4xys3zqmdy3prbm1vxlid6ah27a8qnzh",
|
"sha256": "1jhs562k3pk0xgwyf0m1h2bck4rivv9f3aznz8dslgby9g5mdnda",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://github.com/nmattia/niv/archive/9cb7ef336bb71fd1ca84fc7f2dff15ef4b033f2a.tar.gz",
|
"url": "https://github.com/nmattia/niv/archive/5912c378c2f87e911f1bc7236202f69581406c9d.tar.gz",
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
@ -29,10 +29,10 @@
|
|||||||
"homepage": "",
|
"homepage": "",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "684c73c9e6ac8f4d0c6dea3251292e758ac375b5",
|
"rev": "4c3c80df545ec5cb26b5480979c3e3f93518cbe5",
|
||||||
"sha256": "0hl2nzizn4pwd3sn9gxkngzn88k9in01xm14afpj7716j8y0j2qa",
|
"sha256": "030xqwvyvdixjc144i9hf7m9wns9kab6mih9mngid1pa9nyd2ffm",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://github.com/NixOS/nixpkgs/archive/684c73c9e6ac8f4d0c6dea3251292e758ac375b5.tar.gz",
|
"url": "https://github.com/NixOS/nixpkgs/archive/4c3c80df545ec5cb26b5480979c3e3f93518cbe5.tar.gz",
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
},
|
},
|
||||||
"sops-nix": {
|
"sops-nix": {
|
||||||
@ -41,10 +41,10 @@
|
|||||||
"homepage": "",
|
"homepage": "",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"rev": "afb0d686dced029ea720c466f693c12ebfd4107b",
|
"rev": "c01f48b055ac776f9831c9d4a0fff83e3b74dbe3",
|
||||||
"sha256": "0gs4khjgnazsl5m7jmly3jdl5safzlh4yszsidbgml37nvvxmv9y",
|
"sha256": "0aqhh2c8hnsm5jr7jvajvcsc2l90iv33d11nf8jk3ybxm0qxzhb6",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://github.com/Mic92/sops-nix/archive/afb0d686dced029ea720c466f693c12ebfd4107b.tar.gz",
|
"url": "https://github.com/Mic92/sops-nix/archive/c01f48b055ac776f9831c9d4a0fff83e3b74dbe3.tar.gz",
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user