41 lines
1 KiB
Nix
41 lines
1 KiB
Nix
{ inputs, theme, ... }: {
|
|
imports = [
|
|
inputs.plasma-manager.homeManagerModules.plasma-manager
|
|
../../../../stylix/themes/${theme}/home-manager/plasma6.nix
|
|
./plasma-manager.nix
|
|
];
|
|
|
|
programs.bash.sessionVariables = {
|
|
DISABLE_TMUX = "true";
|
|
GTK_THEME = "Breeze"; # To set the firefox theme
|
|
};
|
|
programs.fish.shellInit = ''
|
|
set DISABLE_TMUX "true"
|
|
'';
|
|
|
|
# Add the Firefox integrations
|
|
# Sep 22 2024 - disabled. kills nightride.fm for some reason?!?!?!
|
|
# 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 = 35.67;
|
|
lng = 135.06;
|
|
dbusserver = true;
|
|
geoclue = true;
|
|
};
|
|
};
|
|
}
|