45 lines
1.1 KiB
Nix
45 lines
1.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 = {
|
|
# WAW
|
|
# lat = 52.23;
|
|
# lng = 21.01;
|
|
# BFL
|
|
# lat = 35.3;
|
|
# lng = -119.1;
|
|
dbusserver = true;
|
|
geoclue = true;
|
|
};
|
|
};
|
|
}
|