2024-12-11 20:09:53 -07:00
|
|
|
{ inputs, system, secrets, lib, config, ... }:
|
2024-12-02 03:57:34 -07:00
|
|
|
{
|
2024-12-11 20:09:53 -07:00
|
|
|
options.ty-home-manager-options = {
|
|
|
|
plasma.enable = lib.mkEnableOption "plasma configuration";
|
|
|
|
firefox.enable = lib.mkEnableOption "firefox configuration";
|
|
|
|
thunderbird.enable = lib.mkEnableOption "thunderbird configuration";
|
|
|
|
vscode.enable = lib.mkEnableOption "vscode configuration";
|
|
|
|
beets.enable = lib.mkEnableOption "beets configuration";
|
|
|
|
rescrobbled.enable = lib.mkEnableOption "rescrobbled configuration";
|
2024-12-02 03:57:34 -07:00
|
|
|
};
|
|
|
|
|
2024-12-11 20:09:53 -07:00
|
|
|
config = {
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.sharedModules = [
|
|
|
|
inputs.plasma-manager.homeManagerModules.plasma-manager
|
|
|
|
./custom-modules
|
2024-12-02 03:57:34 -07:00
|
|
|
];
|
2024-12-11 20:09:53 -07:00
|
|
|
home-manager.extraSpecialArgs = {
|
|
|
|
inherit inputs system secrets;
|
|
|
|
inherit (config) ty-home-manager-options;
|
|
|
|
};
|
|
|
|
home-manager.backupFileExtension = "backup";
|
|
|
|
|
|
|
|
home-manager.users.ty = {
|
|
|
|
imports = [
|
|
|
|
./home.nix
|
|
|
|
];
|
|
|
|
};
|
2024-12-02 03:57:34 -07:00
|
|
|
};
|
|
|
|
}
|