Use python weechat-matrix, make sure I'm in users

This commit is contained in:
Artemis Tosini 2021-06-05 17:48:06 +00:00
parent 64a0a28ece
commit be63c847f9
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
3 changed files with 4 additions and 6 deletions

View file

@ -41,7 +41,7 @@
isNormalUser = true; isNormalUser = true;
description = "Artemis Tosini"; description = "Artemis Tosini";
uid = 1000; uid = 1000;
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" "users" ];
group = "artemis"; group = "artemis";
# hashedPassword set in private # hashedPassword set in private
}; };

@ -1 +1 @@
Subproject commit c867a0a61269868b9a295226e4d5fea2ca889708 Subproject commit 013e52ddbce9bd7cf2c16fe7f375a89903e32a65

View file

@ -57,7 +57,6 @@
users.users.skye = { users.users.skye = {
isSystemUser = true; isSystemUser = true;
uid = 1001; uid = 1001;
extraGroups = [ "users" ];
}; };
# Packages # Packages
@ -69,9 +68,8 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
(weechat.override { (weechat.override {
configure = { availablePlugins, ... }: { configure = { availablePlugins, ... }: {
plugins = (builtins.attrValues availablePlugins) ++ [ { plugins = (builtins.attrValues availablePlugins);
pluginFile = "${(callPackage ../../externals/packages/weechat-matrix-rs { })}/lib/weechat/plugins/matrix.so"; scripts = [ weechatScripts.weechat-matrix ];
} ];
}; };
}) })
]; ];