nix/home-manager/common/desktops/plasma6/default.nix
2024-07-26 19:18:10 +09:00

39 lines
923 B
Nix

{ inputs, pkgs, ... }: {
imports = [
inputs.plasma-manager.homeManagerModules.plasma-manager
./plasma-manager.nix
];
programs.bash.sessionVariables = {
DISABLE_TMUX = "true";
GTK_THEME = "Breeze"; # To set the firefox theme
};
programs.fish.shellInit = ''
set DISABLE_TMUX "true"
set GTK_THEME "Breeze"
'';
# Add the Firefox integrations
programs.firefox.profiles.default.extensions = with pkgs.nur.repos.rycee.firefox-addons; [
plasma-integration
];
services.darkman = {
enable = true;
darkModeScripts = {
apply-colorscheme-dark = ''
/run/current-system/sw/bin/plasma-apply-colorscheme ArcDark
''
};
lightModeScripts = {
apply-colorscheme-light = ''
/run/current-system/sw/bin/plasma-apply-colorscheme Arc
''
};
settings = {
# lat = 10;
# log = 10;
usegeoclue = true;
};
};
}