Adding Very Basic Thunderbird Config

This commit is contained in:
Annika Merris 2024-05-26 13:07:54 -04:00
parent e61807a592
commit fcded54d58
4 changed files with 26 additions and 4 deletions

View file

@ -66,6 +66,7 @@ inputs.nixpkgs.lib.nixosSystem {
openrgb.enable = true; openrgb.enable = true;
prusa-slicer.enable = true; prusa-slicer.enable = true;
spotifyd.enable = true; spotifyd.enable = true;
thunderbird.enable = true;
# Gaming # Gaming
steam.enable = true; steam.enable = true;
# Programming Stuff # Programming Stuff

View file

@ -8,5 +8,6 @@
./openrgb.nix ./openrgb.nix
./prusa-slicer.nix ./prusa-slicer.nix
./spotifyd.nix ./spotifyd.nix
./thunderbird.nix
]; ];
} }

View file

@ -9,10 +9,12 @@
}; };
}; };
config = lib.mkIf (config.gui.enable && config.openrgb.enable) { config = lib.mkIf (config.gui.enable && config.openrgb.enable) {
home-manager.users.${config.user} = { services.hardware.openrgb = {
home.packages = [ enable = true;
pkgs.openrgb-with-all-plugins motherboard = "amd";
]; package = pkgs.openrgb-with-all-plugins;
}; };
# environment.systemPackages = [ pkgs.i2c-tools ];
users.groups.i2c.members = [ config.user ];
}; };
} }

View file

@ -0,0 +1,18 @@
{ config, pkgs, lib, ... }:
{
options = {
thunderbird = {
enable = lib.mkEnableOption {
description = "Enable Thunderbird";
default = false;
};
};
};
config = lib.mkIf (config.gui.enable && config.thunderbird.enable) {
home-manager.users.${config.user} = {
programs.thunderbird = {
enable = true;
};
};
};
}