mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-12 13:03:28 -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;
|
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
|
||||||
|
|
|
||||||
|
|
@ -8,5 +8,6 @@
|
||||||
./openrgb.nix
|
./openrgb.nix
|
||||||
./prusa-slicer.nix
|
./prusa-slicer.nix
|
||||||
./spotifyd.nix
|
./spotifyd.nix
|
||||||
|
./thunderbird.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
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