mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 13:01:01 -05:00
Adding Very Basic Thunderbird Config
This commit is contained in:
parent
e61807a592
commit
fcded54d58
4 changed files with 26 additions and 4 deletions
|
|
@ -66,6 +66,7 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||
openrgb.enable = true;
|
||||
prusa-slicer.enable = true;
|
||||
spotifyd.enable = true;
|
||||
thunderbird.enable = true;
|
||||
# Gaming
|
||||
steam.enable = true;
|
||||
# Programming Stuff
|
||||
|
|
|
|||
|
|
@ -8,5 +8,6 @@
|
|||
./openrgb.nix
|
||||
./prusa-slicer.nix
|
||||
./spotifyd.nix
|
||||
./thunderbird.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,10 +9,12 @@
|
|||
};
|
||||
};
|
||||
config = lib.mkIf (config.gui.enable && config.openrgb.enable) {
|
||||
home-manager.users.${config.user} = {
|
||||
home.packages = [
|
||||
pkgs.openrgb-with-all-plugins
|
||||
];
|
||||
services.hardware.openrgb = {
|
||||
enable = true;
|
||||
motherboard = "amd";
|
||||
package = pkgs.openrgb-with-all-plugins;
|
||||
};
|
||||
# environment.systemPackages = [ pkgs.i2c-tools ];
|
||||
users.groups.i2c.members = [ config.user ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
18
modules/common/applications/thunderbird.nix
Normal file
18
modules/common/applications/thunderbird.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue