summary refs log tree commit diff
path: root/nixos/modules/services/desktops/gnome3
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/desktops/gnome3')
-rw-r--r--nixos/modules/services/desktops/gnome3/at-spi2-core.nix49
-rw-r--r--nixos/modules/services/desktops/gnome3/chrome-gnome-shell.nix33
-rw-r--r--nixos/modules/services/desktops/gnome3/evolution-data-server.nix45
-rw-r--r--nixos/modules/services/desktops/gnome3/glib-networking.nix37
-rw-r--r--nixos/modules/services/desktops/gnome3/gnome-initial-setup.nix90
-rw-r--r--nixos/modules/services/desktops/gnome3/gnome-keyring.nix53
-rw-r--r--nixos/modules/services/desktops/gnome3/gnome-online-accounts.nix43
-rw-r--r--nixos/modules/services/desktops/gnome3/gnome-online-miners.nix43
-rw-r--r--nixos/modules/services/desktops/gnome3/gnome-remote-desktop.nix24
-rw-r--r--nixos/modules/services/desktops/gnome3/gnome-settings-daemon.nix78
-rw-r--r--nixos/modules/services/desktops/gnome3/gnome-user-share.nix40
-rw-r--r--nixos/modules/services/desktops/gnome3/rygel.nix36
-rw-r--r--nixos/modules/services/desktops/gnome3/sushi.nix42
-rw-r--r--nixos/modules/services/desktops/gnome3/tracker-miners.nix44
-rw-r--r--nixos/modules/services/desktops/gnome3/tracker.nix45
15 files changed, 0 insertions, 702 deletions
diff --git a/nixos/modules/services/desktops/gnome3/at-spi2-core.nix b/nixos/modules/services/desktops/gnome3/at-spi2-core.nix
deleted file mode 100644
index 492242e3296..00000000000
--- a/nixos/modules/services/desktops/gnome3/at-spi2-core.nix
+++ /dev/null
@@ -1,49 +0,0 @@
-# at-spi2-core daemon.
-
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-{
-
-  meta = {
-    maintainers = teams.gnome.members;
-  };
-
-  ###### interface
-
-  options = {
-
-    services.gnome3.at-spi2-core = {
-
-      enable = mkOption {
-        type = types.bool;
-        default = false;
-        description = ''
-          Whether to enable at-spi2-core, a service for the Assistive Technologies
-          available on the GNOME platform.
-
-          Enable this if you get the error or warning
-          <literal>The name org.a11y.Bus was not provided by any .service files</literal>.
-        '';
-      };
-
-    };
-
-  };
-
-
-  ###### implementation
-
-  config = mkMerge [
-    (mkIf config.services.gnome3.at-spi2-core.enable {
-      environment.systemPackages = [ pkgs.at-spi2-core ];
-      services.dbus.packages = [ pkgs.at-spi2-core ];
-      systemd.packages = [ pkgs.at-spi2-core ];
-    })
-
-    (mkIf (!config.services.gnome3.at-spi2-core.enable) {
-      environment.variables.NO_AT_BRIDGE = "1";
-    })
-  ];
-}
diff --git a/nixos/modules/services/desktops/gnome3/chrome-gnome-shell.nix b/nixos/modules/services/desktops/gnome3/chrome-gnome-shell.nix
deleted file mode 100644
index 3c7f217b18d..00000000000
--- a/nixos/modules/services/desktops/gnome3/chrome-gnome-shell.nix
+++ /dev/null
@@ -1,33 +0,0 @@
-# Chrome GNOME Shell native host connector.
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-{
-  meta = {
-    maintainers = teams.gnome.members;
-  };
-
-  ###### interface
-  options = {
-    services.gnome3.chrome-gnome-shell.enable = mkEnableOption ''
-      Chrome GNOME Shell native host connector, a DBus service
-      allowing to install GNOME Shell extensions from a web browser.
-    '';
-  };
-
-
-  ###### implementation
-  config = mkIf config.services.gnome3.chrome-gnome-shell.enable {
-    environment.etc = {
-      "chromium/native-messaging-hosts/org.gnome.chrome_gnome_shell.json".source = "${pkgs.chrome-gnome-shell}/etc/chromium/native-messaging-hosts/org.gnome.chrome_gnome_shell.json";
-      "opt/chrome/native-messaging-hosts/org.gnome.chrome_gnome_shell.json".source = "${pkgs.chrome-gnome-shell}/etc/opt/chrome/native-messaging-hosts/org.gnome.chrome_gnome_shell.json";
-    };
-
-    environment.systemPackages = [ pkgs.chrome-gnome-shell ];
-
-    services.dbus.packages = [ pkgs.chrome-gnome-shell ];
-
-    nixpkgs.config.firefox.enableGnomeExtensions = true;
-  };
-}
diff --git a/nixos/modules/services/desktops/gnome3/evolution-data-server.nix b/nixos/modules/services/desktops/gnome3/evolution-data-server.nix
deleted file mode 100644
index bd62d16f61c..00000000000
--- a/nixos/modules/services/desktops/gnome3/evolution-data-server.nix
+++ /dev/null
@@ -1,45 +0,0 @@
-# Evolution Data Server daemon.
-
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-{
-
-  meta = {
-    maintainers = teams.gnome.members;
-  };
-
-  ###### interface
-
-  options = {
-
-    services.gnome3.evolution-data-server = {
-
-      enable = mkOption {
-        type = types.bool;
-        default = false;
-        description = ''
-          Whether to enable Evolution Data Server, a collection of services for
-          storing addressbooks and calendars.
-        '';
-      };
-
-    };
-
-  };
-
-
-  ###### implementation
-
-  config = mkIf config.services.gnome3.evolution-data-server.enable {
-
-    environment.systemPackages = [ pkgs.gnome3.evolution-data-server ];
-
-    services.dbus.packages = [ pkgs.gnome3.evolution-data-server ];
-
-    systemd.packages = [ pkgs.gnome3.evolution-data-server ];
-
-  };
-
-}
diff --git a/nixos/modules/services/desktops/gnome3/glib-networking.nix b/nixos/modules/services/desktops/gnome3/glib-networking.nix
deleted file mode 100644
index 7e667b6b1f0..00000000000
--- a/nixos/modules/services/desktops/gnome3/glib-networking.nix
+++ /dev/null
@@ -1,37 +0,0 @@
-# GLib Networking
-
-{ config, pkgs, lib, ... }:
-
-with lib;
-
-{
-
-  meta = {
-    maintainers = teams.gnome.members;
-  };
-
-  ###### interface
-
-  options = {
-
-    services.gnome3.glib-networking = {
-
-      enable = mkEnableOption "network extensions for GLib";
-
-    };
-
-  };
-
-  ###### implementation
-
-  config = mkIf config.services.gnome3.glib-networking.enable {
-
-    services.dbus.packages = [ pkgs.glib-networking ];
-
-    systemd.packages = [ pkgs.glib-networking ];
-
-    environment.variables.GIO_EXTRA_MODULES = [ "${pkgs.glib-networking.out}/lib/gio/modules" ];
-
-  };
-
-}
diff --git a/nixos/modules/services/desktops/gnome3/gnome-initial-setup.nix b/nixos/modules/services/desktops/gnome3/gnome-initial-setup.nix
deleted file mode 100644
index c391ad9694c..00000000000
--- a/nixos/modules/services/desktops/gnome3/gnome-initial-setup.nix
+++ /dev/null
@@ -1,90 +0,0 @@
-# GNOME Initial Setup.
-
-{ config, pkgs, lib, ... }:
-
-with lib;
-
-let
-
-  # GNOME initial setup's run is conditioned on whether
-  # the gnome-initial-setup-done file exists in XDG_CONFIG_HOME
-  # Because of this, every existing user will have initial setup
-  # running because they never ran it before.
-  #
-  # To prevent this we create the file if the users stateVersion
-  # is older than 20.03 (the release we added this module).
-
-  script = pkgs.writeScript "create-gis-stamp-files" ''
-    #!${pkgs.runtimeShell}
-    setup_done=$HOME/.config/gnome-initial-setup-done
-
-    echo "Creating g-i-s stamp file $setup_done ..."
-    cat - > $setup_done <<- EOF
-    yes
-    EOF
-  '';
-
-  createGisStampFilesAutostart = pkgs.writeTextFile rec {
-    name = "create-g-i-s-stamp-files";
-    destination = "/etc/xdg/autostart/${name}.desktop";
-    text = ''
-      [Desktop Entry]
-      Type=Application
-      Name=Create GNOME Initial Setup stamp files
-      Exec=${script}
-      StartupNotify=false
-      NoDisplay=true
-      OnlyShowIn=GNOME;
-      AutostartCondition=unless-exists gnome-initial-setup-done
-      X-GNOME-Autostart-Phase=EarlyInitialization
-    '';
-  };
-
-in
-
-{
-
-  meta = {
-    maintainers = teams.gnome.members;
-  };
-
-  ###### interface
-
-  options = {
-
-    services.gnome3.gnome-initial-setup = {
-
-      enable = mkEnableOption "GNOME Initial Setup, a Simple, easy, and safe way to prepare a new system";
-
-    };
-
-  };
-
-
-  ###### implementation
-
-  config = mkIf config.services.gnome3.gnome-initial-setup.enable {
-
-    environment.systemPackages = [
-      pkgs.gnome3.gnome-initial-setup
-    ]
-    ++ optional (versionOlder config.system.stateVersion "20.03") createGisStampFilesAutostart
-    ;
-
-    systemd.packages = [
-      pkgs.gnome3.gnome-initial-setup
-    ];
-
-    systemd.user.targets."gnome-session".wants = [
-      "gnome-initial-setup-copy-worker.service"
-      "gnome-initial-setup-first-login.service"
-      "gnome-welcome-tour.service"
-    ];
-
-    systemd.user.targets."gnome-session@gnome-initial-setup".wants = [
-      "gnome-initial-setup.service"
-    ];
-
-  };
-
-}
diff --git a/nixos/modules/services/desktops/gnome3/gnome-keyring.nix b/nixos/modules/services/desktops/gnome3/gnome-keyring.nix
deleted file mode 100644
index 2916a3c82b3..00000000000
--- a/nixos/modules/services/desktops/gnome3/gnome-keyring.nix
+++ /dev/null
@@ -1,53 +0,0 @@
-# GNOME Keyring daemon.
-
-{ config, pkgs, lib, ... }:
-
-with lib;
-
-{
-
-  meta = {
-    maintainers = teams.gnome.members;
-  };
-
-  ###### interface
-
-  options = {
-
-    services.gnome3.gnome-keyring = {
-
-      enable = mkOption {
-        type = types.bool;
-        default = false;
-        description = ''
-          Whether to enable GNOME Keyring daemon, a service designed to
-          take care of the user's security credentials,
-          such as user names and passwords.
-        '';
-      };
-
-    };
-
-  };
-
-
-  ###### implementation
-
-  config = mkIf config.services.gnome3.gnome-keyring.enable {
-
-    environment.systemPackages = [ pkgs.gnome3.gnome-keyring ];
-
-    services.dbus.packages = [ pkgs.gnome3.gnome-keyring pkgs.gcr ];
-
-    xdg.portal.extraPortals = [ pkgs.gnome3.gnome-keyring ];
-
-    security.pam.services.login.enableGnomeKeyring = true;
-
-    security.wrappers.gnome-keyring-daemon = {
-      source = "${pkgs.gnome3.gnome-keyring}/bin/gnome-keyring-daemon";
-      capabilities = "cap_ipc_lock=ep";
-    };
-
-  };
-
-}
diff --git a/nixos/modules/services/desktops/gnome3/gnome-online-accounts.nix b/nixos/modules/services/desktops/gnome3/gnome-online-accounts.nix
deleted file mode 100644
index 3f9ced5e86b..00000000000
--- a/nixos/modules/services/desktops/gnome3/gnome-online-accounts.nix
+++ /dev/null
@@ -1,43 +0,0 @@
-# GNOME Online Accounts daemon.
-
-{ config, pkgs, lib, ... }:
-
-with lib;
-
-{
-
-  meta = {
-    maintainers = teams.gnome.members;
-  };
-
-  ###### interface
-
-  options = {
-
-    services.gnome3.gnome-online-accounts = {
-
-      enable = mkOption {
-        type = types.bool;
-        default = false;
-        description = ''
-          Whether to enable GNOME Online Accounts daemon, a service that provides
-          a single sign-on framework for the GNOME desktop.
-        '';
-      };
-
-    };
-
-  };
-
-
-  ###### implementation
-
-  config = mkIf config.services.gnome3.gnome-online-accounts.enable {
-
-    environment.systemPackages = [ pkgs.gnome-online-accounts ];
-
-    services.dbus.packages = [ pkgs.gnome-online-accounts ];
-
-  };
-
-}
diff --git a/nixos/modules/services/desktops/gnome3/gnome-online-miners.nix b/nixos/modules/services/desktops/gnome3/gnome-online-miners.nix
deleted file mode 100644
index 39d669e8b30..00000000000
--- a/nixos/modules/services/desktops/gnome3/gnome-online-miners.nix
+++ /dev/null
@@ -1,43 +0,0 @@
-# GNOME Online Miners daemon.
-
-{ config, pkgs, lib, ... }:
-
-with lib;
-
-{
-
-  meta = {
-    maintainers = teams.gnome.members;
-  };
-
-  ###### interface
-
-  options = {
-
-    services.gnome3.gnome-online-miners = {
-
-      enable = mkOption {
-        type = types.bool;
-        default = false;
-        description = ''
-          Whether to enable GNOME Online Miners, a service that
-          crawls through your online content.
-        '';
-      };
-
-    };
-
-  };
-
-
-  ###### implementation
-
-  config = mkIf config.services.gnome3.gnome-online-miners.enable {
-
-    environment.systemPackages = [ pkgs.gnome3.gnome-online-miners ];
-
-    services.dbus.packages = [ pkgs.gnome3.gnome-online-miners ];
-
-  };
-
-}
diff --git a/nixos/modules/services/desktops/gnome3/gnome-remote-desktop.nix b/nixos/modules/services/desktops/gnome3/gnome-remote-desktop.nix
deleted file mode 100644
index 164a0a44f8c..00000000000
--- a/nixos/modules/services/desktops/gnome3/gnome-remote-desktop.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-# Remote desktop daemon using Pipewire.
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-{
-  meta = {
-    maintainers = teams.gnome.members;
-  };
-
-  ###### interface
-  options = {
-    services.gnome3.gnome-remote-desktop = {
-      enable = mkEnableOption "Remote Desktop support using Pipewire";
-    };
-  };
-
-  ###### implementation
-  config = mkIf config.services.gnome3.gnome-remote-desktop.enable {
-    services.pipewire.enable = true;
-
-    systemd.packages = [ pkgs.gnome3.gnome-remote-desktop ];
-  };
-}
diff --git a/nixos/modules/services/desktops/gnome3/gnome-settings-daemon.nix b/nixos/modules/services/desktops/gnome3/gnome-settings-daemon.nix
deleted file mode 100644
index 1c33ed064a1..00000000000
--- a/nixos/modules/services/desktops/gnome3/gnome-settings-daemon.nix
+++ /dev/null
@@ -1,78 +0,0 @@
-# GNOME Settings Daemon
-
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-let
-
-  cfg = config.services.gnome3.gnome-settings-daemon;
-
-in
-
-{
-
-  meta = {
-    maintainers = teams.gnome.members;
-  };
-
-  imports = [
-    (mkRemovedOptionModule
-      ["services" "gnome3" "gnome-settings-daemon" "package"]
-      "")
-  ];
-
-  ###### interface
-
-  options = {
-
-    services.gnome3.gnome-settings-daemon = {
-
-      enable = mkEnableOption "GNOME Settings Daemon";
-
-    };
-
-  };
-
-
-  ###### implementation
-
-  config = mkIf cfg.enable {
-
-    environment.systemPackages = [
-      pkgs.gnome3.gnome-settings-daemon
-    ];
-
-    services.udev.packages = [
-      pkgs.gnome3.gnome-settings-daemon
-    ];
-
-    systemd.packages = [
-      pkgs.gnome3.gnome-settings-daemon
-    ];
-
-    systemd.user.targets."gnome-session-initialized".wants = [
-      "gsd-color.target"
-      "gsd-datetime.target"
-      "gsd-keyboard.target"
-      "gsd-media-keys.target"
-      "gsd-print-notifications.target"
-      "gsd-rfkill.target"
-      "gsd-screensaver-proxy.target"
-      "gsd-sharing.target"
-      "gsd-smartcard.target"
-      "gsd-sound.target"
-      "gsd-wacom.target"
-      "gsd-wwan.target"
-      "gsd-a11y-settings.target"
-      "gsd-housekeeping.target"
-      "gsd-power.target"
-    ];
-
-    systemd.user.targets."gnome-session-x11-services".wants = [
-      "gsd-xsettings.target"
-    ];
-
-  };
-
-}
diff --git a/nixos/modules/services/desktops/gnome3/gnome-user-share.nix b/nixos/modules/services/desktops/gnome3/gnome-user-share.nix
deleted file mode 100644
index f2fe8b41a9e..00000000000
--- a/nixos/modules/services/desktops/gnome3/gnome-user-share.nix
+++ /dev/null
@@ -1,40 +0,0 @@
-# GNOME User Share daemon.
-
-{ config, pkgs, lib, ... }:
-
-with lib;
-
-{
-
-  meta = {
-    maintainers = teams.gnome.members;
-  };
-
-  ###### interface
-
-  options = {
-
-    services.gnome3.gnome-user-share = {
-
-      enable = mkEnableOption "GNOME User Share, a user-level file sharing service for GNOME";
-
-    };
-
-  };
-
-
-  ###### implementation
-
-  config = mkIf config.services.gnome3.gnome-user-share.enable {
-
-    environment.systemPackages = [
-      pkgs.gnome3.gnome-user-share
-    ];
-
-    systemd.packages = [
-      pkgs.gnome3.gnome-user-share
-    ];
-
-  };
-
-}
diff --git a/nixos/modules/services/desktops/gnome3/rygel.nix b/nixos/modules/services/desktops/gnome3/rygel.nix
deleted file mode 100644
index 917a1d6541e..00000000000
--- a/nixos/modules/services/desktops/gnome3/rygel.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-# rygel service.
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-{
-  meta = {
-    maintainers = teams.gnome.members;
-  };
-
-  ###### interface
-  options = {
-    services.gnome3.rygel = {
-      enable = mkOption {
-        default = false;
-        description = ''
-          Whether to enable Rygel UPnP Mediaserver.
-
-          You will need to also allow UPnP connections in firewall, see the following <link xlink:href="https://github.com/NixOS/nixpkgs/pull/45045#issuecomment-416030795">comment</link>.
-        '';
-        type = types.bool;
-      };
-    };
-  };
-
-  ###### implementation
-  config = mkIf config.services.gnome3.rygel.enable {
-    environment.systemPackages = [ pkgs.gnome3.rygel ];
-
-    services.dbus.packages = [ pkgs.gnome3.rygel ];
-
-    systemd.packages = [ pkgs.gnome3.rygel ];
-
-    environment.etc."rygel.conf".source = "${pkgs.gnome3.rygel}/etc/rygel.conf";
-  };
-}
diff --git a/nixos/modules/services/desktops/gnome3/sushi.nix b/nixos/modules/services/desktops/gnome3/sushi.nix
deleted file mode 100644
index 83b17365d5d..00000000000
--- a/nixos/modules/services/desktops/gnome3/sushi.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-# GNOME Sushi daemon.
-
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-{
-
-  meta = {
-    maintainers = teams.gnome.members;
-  };
-
-  ###### interface
-
-  options = {
-
-    services.gnome3.sushi = {
-
-      enable = mkOption {
-        type = types.bool;
-        default = false;
-        description = ''
-          Whether to enable Sushi, a quick previewer for nautilus.
-        '';
-      };
-
-    };
-
-  };
-
-
-  ###### implementation
-
-  config = mkIf config.services.gnome3.sushi.enable {
-
-    environment.systemPackages = [ pkgs.gnome3.sushi ];
-
-    services.dbus.packages = [ pkgs.gnome3.sushi ];
-
-  };
-
-}
diff --git a/nixos/modules/services/desktops/gnome3/tracker-miners.nix b/nixos/modules/services/desktops/gnome3/tracker-miners.nix
deleted file mode 100644
index f2af4024927..00000000000
--- a/nixos/modules/services/desktops/gnome3/tracker-miners.nix
+++ /dev/null
@@ -1,44 +0,0 @@
-# Tracker Miners daemons.
-
-{ config, pkgs, lib, ... }:
-
-with lib;
-
-{
-
-  meta = {
-    maintainers = teams.gnome.members;
-  };
-
-  ###### interface
-
-  options = {
-
-    services.gnome3.tracker-miners = {
-
-      enable = mkOption {
-        type = types.bool;
-        default = false;
-        description = ''
-          Whether to enable Tracker miners, indexing services for Tracker
-          search engine and metadata storage system.
-        '';
-      };
-
-    };
-
-  };
-
-  ###### implementation
-
-  config = mkIf config.services.gnome3.tracker-miners.enable {
-
-    environment.systemPackages = [ pkgs.tracker-miners ];
-
-    services.dbus.packages = [ pkgs.tracker-miners ];
-
-    systemd.packages = [ pkgs.tracker-miners ];
-
-  };
-
-}
diff --git a/nixos/modules/services/desktops/gnome3/tracker.nix b/nixos/modules/services/desktops/gnome3/tracker.nix
deleted file mode 100644
index cd196e38553..00000000000
--- a/nixos/modules/services/desktops/gnome3/tracker.nix
+++ /dev/null
@@ -1,45 +0,0 @@
-# Tracker daemon.
-
-{ config, pkgs, lib, ... }:
-
-with lib;
-
-{
-
-  meta = {
-    maintainers = teams.gnome.members;
-  };
-
-  ###### interface
-
-  options = {
-
-    services.gnome3.tracker = {
-
-      enable = mkOption {
-        type = types.bool;
-        default = false;
-        description = ''
-          Whether to enable Tracker services, a search engine,
-          search tool and metadata storage system.
-        '';
-      };
-
-    };
-
-  };
-
-
-  ###### implementation
-
-  config = mkIf config.services.gnome3.tracker.enable {
-
-    environment.systemPackages = [ pkgs.tracker ];
-
-    services.dbus.packages = [ pkgs.tracker ];
-
-    systemd.packages = [ pkgs.tracker ];
-
-  };
-
-}