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

46 lines
1.1 KiB
Nix
Raw Normal View History

2024-09-24 21:58:47 +09:00
{ inputs, theme, ... }: {
2024-01-01 14:42:36 +09:00
imports = [
inputs.plasma-manager.homeManagerModules.plasma-manager
2024-09-24 21:58:47 +09:00
../../../../stylix/themes/${theme}/home-manager/plasma6.nix
2024-06-20 11:02:08 +09:00
./plasma-manager.nix
2024-01-01 14:42:36 +09:00
];
2024-01-01 16:32:13 +09:00
2024-06-20 18:47:03 +09:00
programs.bash.sessionVariables = {
DISABLE_TMUX = "true";
2024-06-20 19:26:40 +09:00
GTK_THEME = "Breeze"; # To set the firefox theme
2024-06-20 18:47:03 +09:00
};
programs.fish.shellInit = ''
set DISABLE_TMUX "true"
'';
2024-06-20 11:02:08 +09:00
2024-01-01 16:32:13 +09:00
# Add the Firefox integrations
2024-09-22 16:11:34 +09: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 18:49:18 +09:00
services.darkman = {
enable = true;
2024-07-26 19:18:10 +09:00
darkModeScripts = {
apply-colorscheme-dark = ''
/run/current-system/sw/bin/plasma-apply-colorscheme ArcDark
2024-07-26 19:22:21 +09:00
'';
2024-07-26 19:18:10 +09:00
};
lightModeScripts = {
apply-colorscheme-light = ''
/run/current-system/sw/bin/plasma-apply-colorscheme Arc
2024-07-26 19:22:21 +09:00
'';
2024-07-26 19:18:10 +09:00
};
2024-07-24 18:49:18 +09:00
settings = {
2024-11-24 20:31:22 +01:00
# WAW
# lat = 52.23;
# lng = 21.01;
# BFL
lat = 35.3;
lng = -119.1;
2024-07-27 09:42:36 +09:00
dbusserver = true;
2024-09-25 10:23:49 +09:00
geoclue = true;
2024-07-24 18:49:18 +09:00
};
};
2024-01-01 00:25:53 +09:00
}