nix/home-manager/home.nix

22 lines
No EOL
865 B
Nix
Executable file

{ lib, config, ... }:
{
home.stateVersion = "24.05";
home.username = "ty";
home.homeDirectory = "/home/ty";
imports = [
./modules/packages.nix
(lib.mkIf config.hmOptions.plasma.enable ./modules/plasma.nix)
./modules/vcs
(lib.mkIf config.hmOptions.firefox.enable ./modules/firefox.nix)
(lib.mkIf config.hmOptions.thunderbird.enable ./modules/thunderbird.nix)
./modules/accounts
./modules/gpg.nix
./modules/shell
(lib.mkIf config.hmOptions.vscode.enable ./modules/vscode.nix)
(lib.mkIf config.hmOptions.plasma.enable ./modules/desktop.nix)
(lib.mkIf config.hmOptions.plasma.enable ./modules/gtk.nix)
(lib.mkIf config.hmOptions.beets.enable ./modules/beets.nix)
(lib.mkIf config.hmOptions.rescrobbled.enable ./modules/rescrobbled.nix)
];
}