39 lines
927 B
Nix
39 lines
927 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 = 35.67;
|
|
lng = 135.06;
|
|
dbusserver = true;
|
|
};
|
|
};
|
|
}
|