2021-01-11 22:50:18 +04:00
|
|
|
{ config, pkgs, lib, ... }: {
|
|
|
|
services.gnome3 = {
|
|
|
|
core-os-services.enable = true;
|
|
|
|
core-utilities.enable = true;
|
2021-01-12 16:13:03 +04:00
|
|
|
evolution-data-server.enable = true;
|
2021-01-11 22:50:18 +04:00
|
|
|
sushi.enable = true;
|
|
|
|
tracker.enable = true;
|
|
|
|
tracker-miners.enable = true;
|
|
|
|
gnome-settings-daemon.enable = true;
|
|
|
|
glib-networking.enable = true;
|
2021-01-12 16:13:03 +04:00
|
|
|
gnome-keyring.enable = true;
|
|
|
|
gnome-online-accounts.enable = true;
|
|
|
|
gnome-online-miners.enable = true;
|
2021-01-11 22:50:18 +04:00
|
|
|
};
|
2021-01-20 18:54:50 +04:00
|
|
|
|
|
|
|
environment.sessionVariables.XDG_CURRENT_DESKTOP = "X-Generic";
|
|
|
|
|
|
|
|
|
2021-01-11 22:50:18 +04:00
|
|
|
services.gvfs.enable = true;
|
|
|
|
services.geoclue2.enable = true;
|
|
|
|
home-manager.users.balsoft = {
|
|
|
|
xdg.userDirs.enable = true;
|
|
|
|
home.activation.gnome = ''
|
2021-01-12 16:13:03 +04:00
|
|
|
$DRY_RUN_CMD mkdir -p "$XDG_DATA_HOME/keyrings"
|
|
|
|
$DRY_RUN_CMD ln -sf ${config.secrets-envsubst.gnome-keyring} "$XDG_DATA_HOME/keyrings/Default_keyring.keyring"
|
2021-01-11 22:50:18 +04:00
|
|
|
echo "Default_keyring" > "$XDG_DATA_HOME/keyrings/default"
|
|
|
|
$DRY_RUN_CMD mkdir -p "$XDG_CONFIG_HOME/goa-1.0"
|
2021-01-12 16:13:03 +04:00
|
|
|
$DRY_RUN_CMD ln -sf ${./accounts.conf} "$XDG_CONFIG_HOME/goa-1.0/accounts.conf"
|
2021-01-11 22:50:18 +04:00
|
|
|
$DRY_RUN_CMD mkdir -p "$XDG_CONFIG_HOME/evolution/sources"
|
2021-01-12 16:13:03 +04:00
|
|
|
$DRY_RUN_CMD ln -sf ${./nextcloud.source} "$XDG_CONFIG_HOME/evolution/sources/nextcloud.source"
|
2021-01-11 22:50:18 +04:00
|
|
|
'';
|
|
|
|
|
|
|
|
dconf.settings = {
|
|
|
|
"org/gnome/nautilus/icon-view" = {
|
|
|
|
captions = [ "size" "date_modified" "none" ];
|
|
|
|
};
|
|
|
|
"org/gnome/nautilus/list-view" = {
|
|
|
|
default-column-order = [
|
|
|
|
"name"
|
|
|
|
"size"
|
|
|
|
"type"
|
|
|
|
"owner"
|
|
|
|
"group"
|
|
|
|
"permissions"
|
|
|
|
"where"
|
|
|
|
"date_modified"
|
|
|
|
"date_modified_with_time"
|
|
|
|
"date_accessed"
|
|
|
|
"recency"
|
|
|
|
"starred"
|
|
|
|
"detailed_type"
|
|
|
|
];
|
|
|
|
default-visible-columns = [ "name" "size" "date_modified" "starred" ];
|
|
|
|
};
|
|
|
|
"org/gnome/nautilus/preferences" = {
|
|
|
|
default-folder-viewer = "list-view";
|
|
|
|
executable-text-activation = "display";
|
|
|
|
search-filter-time-type = "last_modified";
|
|
|
|
search-view = "list-view";
|
|
|
|
show-image-thumbnails = "always";
|
|
|
|
thumbnail-limit = 10;
|
|
|
|
};
|
|
|
|
|
|
|
|
"org/gnome/evince/default" = {
|
|
|
|
inverted-colors = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
"org/gnome/maps" = {
|
|
|
|
night-mode = true;
|
|
|
|
transportation-type = "car";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
secrets-envsubst.gnome-keyring = {
|
|
|
|
owner = "balsoft:users";
|
|
|
|
secrets = [ "matrix_token" "matrix_password" "email" "nextcloud" ];
|
|
|
|
template = builtins.readFile ./gnome-keyring-template.conf;
|
|
|
|
};
|
|
|
|
}
|