nix/home-manager/common/desktops/plasma6/default.nix

40 lines
1 KiB
Nix
Raw Normal View History

2024-09-24 14:58:47 +02:00
{ inputs, theme, ... }: {
2024-01-01 06:42:36 +01:00
imports = [
inputs.plasma-manager.homeManagerModules.plasma-manager
2024-09-24 14:58:47 +02:00
../../../../stylix/themes/${theme}/home-manager/plasma6.nix
2024-06-20 04:02:08 +02:00
./plasma-manager.nix
2024-01-01 06:42:36 +01:00
];
2024-01-01 08:32:13 +01:00
2024-06-20 11:47:03 +02:00
programs.bash.sessionVariables = {
DISABLE_TMUX = "true";
2024-06-20 12:26:40 +02:00
GTK_THEME = "Breeze"; # To set the firefox theme
2024-06-20 11:47:03 +02:00
};
programs.fish.shellInit = ''
set DISABLE_TMUX "true"
'';
2024-06-20 04:02:08 +02:00
2024-01-01 08:32:13 +01:00
# Add the Firefox integrations
2024-09-22 09:11:34 +02:00
# Sep 22 2024 - disabled. kills nightride.fm for some reason?!?!?!
# programs.firefox.profiles.default.extensions = with pkgs.nur.repos.rycee.firefox-addons; [
# plasma-integration
# ];
2024-07-24 11:49:18 +02:00
services.darkman = {
enable = true;
2024-07-26 12:18:10 +02:00
darkModeScripts = {
apply-colorscheme-dark = ''
/run/current-system/sw/bin/plasma-apply-colorscheme ArcDark
2024-07-26 12:22:21 +02:00
'';
2024-07-26 12:18:10 +02:00
};
lightModeScripts = {
apply-colorscheme-light = ''
/run/current-system/sw/bin/plasma-apply-colorscheme Arc
2024-07-26 12:22:21 +02:00
'';
2024-07-26 12:18:10 +02:00
};
2024-07-24 11:49:18 +02:00
settings = {
2024-07-27 02:42:36 +02:00
dbusserver = true;
2024-12-12 00:51:27 +01:00
usegeoclue = true;
2024-07-24 11:49:18 +02:00
};
};
2023-12-31 16:25:53 +01:00
}