Compare commits

...

2 commits

2 changed files with 3 additions and 16 deletions

View file

@ -12,6 +12,8 @@
deployment.targetHost = null;
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
nixpkgs.config.allowUnfree = true;
console.keyMap = "us";
sops = {
@ -41,7 +43,6 @@
hmConfig = {
programs.helix.enable = true;
my.communications.matrix-client.enable = true;
my.desktop.sway.monitors = [
{
name = "Chimei Innolux Corporation 0x14C9 Unknown";

View file

@ -13,13 +13,7 @@ with lib;
discord.enable = mkOption {
type = types.bool;
example = true;
default = false;
};
slack.enable = mkOption {
type = types.bool;
default = false;
example = false;
default = true;
};
irc.enable = mkOption {
@ -27,18 +21,10 @@ with lib;
default = false;
example = false;
};
matrix-client.enable = mkOption {
type = types.bool;
default = false;
example = false;
};
};
config.home.packages = with pkgs; [
(mkIf commConfig.discord.enable (discord.override { nss = nss_latest; }))
(mkIf commConfig.slack.enable slack)
(mkIf commConfig.irc.enable weechat)
(mkIf commConfig.matrix-client.enable element)
];
}