Compare commits

..

No commits in common. "d24585dab1e412635cb27ed8141651d433236750" and "310baa563b318ace52ba0a37c9dc1d80b28ef1df" have entirely different histories.

3 changed files with 34 additions and 40 deletions

View File

@ -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.7"; image = "ghcr.io/home-assistant/home-assistant:2022.3.0";
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" ];

View File

@ -16,36 +16,30 @@
matrix-synapse = { matrix-synapse = {
enable = true; enable = true;
settings = { server_name = "walkah.chat";
server_name = "walkah.chat"; public_baseurl = "https://matrix.walkah.chat";
public_baseurl = "https://matrix.walkah.chat"; enable_metrics = true;
enable_metrics = true; enable_registration = false;
enable_registration = false; database_type = "psycopg2";
database = { database_args = { database = "matrix"; };
name = "psycopg2"; listeners = [{
args = { database = "matrix"; }; port = 8008;
}; type = "http";
account_threepid_delegates = { tls = false;
email = "https://vector.im"; x_forwarded = true;
msisdn = "https://vector.im"; resources = [{
}; compress = false;
listeners = [{ names = [ "client" "federation" ];
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";
};
}; };
}; };

View File

@ -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": "ac9404115362c901ffe5c5c215f76f74b79d5eda", "rev": "ea85f4b1fdf3f25cf97dc49f4a9ec4eafda2ea25",
"sha256": "1pvpqplls0vapg7f6p9pxkhmsid1zpj40r6fshch2lvl8q1x3bd1", "sha256": "0hrcm5brnqq16mqjj6pckpzbyy9vi6n37nqyj0qxjgjvbxhghyga",
"type": "tarball", "type": "tarball",
"url": "https://github.com/nix-community/home-manager/archive/ac9404115362c901ffe5c5c215f76f74b79d5eda.tar.gz", "url": "https://github.com/nix-community/home-manager/archive/ea85f4b1fdf3f25cf97dc49f4a9ec4eafda2ea25.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": "5912c378c2f87e911f1bc7236202f69581406c9d", "rev": "9cb7ef336bb71fd1ca84fc7f2dff15ef4b033f2a",
"sha256": "1jhs562k3pk0xgwyf0m1h2bck4rivv9f3aznz8dslgby9g5mdnda", "sha256": "1ajyqr8zka1zlb25jx1v4xys3zqmdy3prbm1vxlid6ah27a8qnzh",
"type": "tarball", "type": "tarball",
"url": "https://github.com/nmattia/niv/archive/5912c378c2f87e911f1bc7236202f69581406c9d.tar.gz", "url": "https://github.com/nmattia/niv/archive/9cb7ef336bb71fd1ca84fc7f2dff15ef4b033f2a.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": "4c3c80df545ec5cb26b5480979c3e3f93518cbe5", "rev": "684c73c9e6ac8f4d0c6dea3251292e758ac375b5",
"sha256": "030xqwvyvdixjc144i9hf7m9wns9kab6mih9mngid1pa9nyd2ffm", "sha256": "0hl2nzizn4pwd3sn9gxkngzn88k9in01xm14afpj7716j8y0j2qa",
"type": "tarball", "type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/4c3c80df545ec5cb26b5480979c3e3f93518cbe5.tar.gz", "url": "https://github.com/NixOS/nixpkgs/archive/684c73c9e6ac8f4d0c6dea3251292e758ac375b5.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": "c01f48b055ac776f9831c9d4a0fff83e3b74dbe3", "rev": "afb0d686dced029ea720c466f693c12ebfd4107b",
"sha256": "0aqhh2c8hnsm5jr7jvajvcsc2l90iv33d11nf8jk3ybxm0qxzhb6", "sha256": "0gs4khjgnazsl5m7jmly3jdl5safzlh4yszsidbgml37nvvxmv9y",
"type": "tarball", "type": "tarball",
"url": "https://github.com/Mic92/sops-nix/archive/c01f48b055ac776f9831c9d4a0fff83e3b74dbe3.tar.gz", "url": "https://github.com/Mic92/sops-nix/archive/afb0d686dced029ea720c466f693c12ebfd4107b.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
} }
} }