1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00

Replace references to pkgs.gnome3 by pkgs.gnome

This commit is contained in:
Robert Helgesson 2021-05-30 22:47:03 +02:00
parent c7e79b5337
commit d3cdabb5c9
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
7 changed files with 7 additions and 7 deletions

View file

@ -92,7 +92,7 @@ error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.
The solution on NixOS is to add The solution on NixOS is to add
[source,nix] [source,nix]
services.dbus.packages = with pkgs; [ gnome3.dconf ]; services.dbus.packages = with pkgs; [ gnome.dconf ];
to your system configuration. to your system configuration.

View file

@ -33,7 +33,7 @@ let
package = mkOption { package = mkOption {
type = types.nullOr types.package; type = types.nullOr types.package;
default = null; default = null;
example = literalExample "pkgs.gnome3.gnome_themes_standard"; example = literalExample "pkgs.gnome.gnome_themes_standard";
description = '' description = ''
Package providing the theme. This package will be installed Package providing the theme. This package will be installed
to your profile. If <literal>null</literal> then the theme to your profile. If <literal>null</literal> then the theme

View file

@ -315,7 +315,7 @@ in {
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.packages = [ pkgs.gnome3.gnome-terminal ]; home.packages = [ pkgs.gnome.gnome-terminal ];
dconf.settings = let dconfPath = "org/gnome/terminal/legacy"; dconf.settings = let dconfPath = "org/gnome/terminal/legacy";
in { in {

View file

@ -261,7 +261,7 @@ in {
description = '' description = ''
Path to the terminal which will be used to run console applications Path to the terminal which will be used to run console applications
''; '';
example = "\${pkgs.gnome3.gnome_terminal}/bin/gnome-terminal"; example = "\${pkgs.gnome.gnome_terminal}/bin/gnome-terminal";
}; };
separator = mkOption { separator = mkOption {

View file

@ -25,7 +25,7 @@ let
options = { options = {
package = mkOption { package = mkOption {
type = types.package; type = types.package;
example = literalExample "pkgs.gnome3.adwaita-icon-theme"; example = literalExample "pkgs.gnome.adwaita-icon-theme";
description = "Package providing the theme."; description = "Package providing the theme.";
}; };

View file

@ -36,7 +36,7 @@ in {
args = concatStringsSep " " ([ "--start" "--foreground" ] args = concatStringsSep " " ([ "--start" "--foreground" ]
++ optional (cfg.components != [ ]) ++ optional (cfg.components != [ ])
("--components=" + concatStringsSep "," cfg.components)); ("--components=" + concatStringsSep "," cfg.components));
in "${pkgs.gnome3.gnome-keyring}/bin/gnome-keyring-daemon ${args}"; in "${pkgs.gnome.gnome-keyring}/bin/gnome-keyring-daemon ${args}";
Restart = "on-abort"; Restart = "on-abort";
}; };

View file

@ -38,7 +38,7 @@ in {
# "AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files" # "AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files"
home.packages = [ cfg.package pkgs.at-spi2-core ]; home.packages = [ cfg.package pkgs.at-spi2-core ];
# Will need to add `services.dbus.packages = with pkgs; [ gnome3.dconf ];` # Will need to add `services.dbus.packages = with pkgs; [ gnome.dconf ];`
# to /etc/nixos/configuration.nix for daemon to work correctly # to /etc/nixos/configuration.nix for daemon to work correctly
systemd.user.services.pulseeffects = { systemd.user.services.pulseeffects = {