The ‘gnome.adwaita-icon-theme’ was moved to top-level. Please use ‘pkgs.adwaita-icon-theme’ directly.
This has happened ever since I changed to the nix unstable channel, theres no mention of any icons in my config file. Running laptop, intel ultra 9, rtx 4070 mobile. New to nix.
can you pleas post your config and more details of your system (versions)
1 Like
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, ... }:
let
nix-software-center = import (pkgs.fetchFromGitHub {
owner = "snowfallorg";
repo = "nix-software-center";
rev = "0.1.2";
sha256 = "xiqF1mP8wFubdsAQ1BmfjzCgOD3YZf7EGWl9i69FTls=";
}) {};
in
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "francisnixos"; # Define your hostname.
# Pick only one of the below networking options.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
# Set your time zone.
# time.timeZone = "Europe/Amsterdam";
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Select internationalisation properties.
# i18n.defaultLocale = "en_US.UTF-8";
# console = {
# font = "Lat2-Terminus16";
# keyMap = "us";
# useXkbConfig = true; # use xkb.options in tty.
# };
# Enable the X11 windowing system.
services.xserver = {
enable = true;
libinput.enable = true;
displayManager.lightdm.enable = true;
desktopManager.cinnamon.enable = true;
displayManager.defaultSession = "cinnamon";
};
nixpkgs.config.allowUnfree = true;
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
services.xserver.videoDrivers = [ "nvidia" ];
hardware.graphics = {
enable = true;
};
hardware.nvidia = {
modesetting = enable = true;
powerManagement.enable = false;
open = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
# Configure keymap in X11
services.xserver.xkb.layout = "us";
# services.xserver.xkb.options = "eurosign:e,caps:escape";
# Enable CUPS to print documents.
# services.printing.enable = true;
# Enable sound.
# hardware.pulseaudio.enable = true;
# OR
services.pipewire = {
enable = true;
pulse.enable = true;
};
# Enable touchpad support (enabled default in most desktopManager).
# services.libinput.enable = true;
# Define a user account. Don't forget to set a password with ‘passwd’.
# users.users.francis = {
# isNormalUser = true;
# extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
# packages = with pkgs; [
# tree
# ];
# };
# programs.firefox.enable = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget
neofetch
kitty
nix-software-center
lshw
];
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
# programs.gnupg.agent = {
# enable = true;
# enableSSHSupport = true;
# };
# List services that you want to enable:
# Enable the OpenSSH daemon.
# services.openssh.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
# Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix.
# system.copySystemConfiguration = true;
# This option defines the first version of NixOS you have installed on this particular machine,
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
#
# Most users should NEVER change this value after the initial install, for any reason,
# even if you've upgraded your system to a new NixOS release.
#
# This value does NOT affect the Nixpkgs version your packages and OS are pulled from,
# so changing it will NOT upgrade your system - see https://nixos.org/manual/nixos/stable/#sec-upgrading for how
# to actually do that.
#
# This value being lower than the current NixOS release does NOT mean your system is
# out of date, out of support, or vulnerable.
#
# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,
# and migrated your data accordingly.
#
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
system.stateVersion = "24.11"; # Did you read the comment?
boot.loader.grub.device = "/dev/nvme0n1p1";
users.users.francis = {
isNormalUser = true;
description = "Francis";
extraGroups = [ "wheel" ];
shell = pkgs.bash;
home = "/home/francis";
};
xdg.portal = {
enable = true;
wlr.enable = true;
};
swapDevices = [{
device = "/swapfile";
size = 16 * 1024;
}];
}
OS: NixOS 24.11.713719.4e96537f16
Kernel: 6.6.72
Uptime: 31 mins
Packages: 1093 (nix-system), 2 (n
Shell: bash 5.2.37
Resolution: 2560x1440, 2560x1440
DE: Cinnamon 6.2.9
WM: Mutter (Muffin)
WM Theme: Mint-Y-Dark-Purple (Min Theme: Mint-Y-Purple [GTK2/3]
Icons: Mint-Y-Purple [GTK2/3]
Terminal: .gnome-terminal
CPU: Intel Ultra 9 185H (22) @ 4.
GPU: Intel Arc Graphics]
GPU: NVIDIA GeForce RTX 4070 Max-
Memory: 2274MiB / 31486MiB
and where do you have defined the gnome.adwaita icon theme?
also try adding adwaita-icon-theme to your packages
I don’t have it defined. I tried adding it
environment.systemPackages = with pkgs; [
vim # Do not forget to add an editor to edit configuration.nix! The Nano ed>
wget
neofetch
kitty
nix-software-center
lshw
pciutils
nvitop
brave
rtkit
plasma-pa
adwaita-icon-theme
];
still get the same error upon rebuild
Okay try updating your system with:
sudo nix-channel --update
sudo nixos-rebuild switch --upgrade
Also please run this command and post the output:
nix-store --query --requisites /run/current-system | grep gnome.adwaita-icon-theme
#and
nix-store --query --requisites /run/current-system | grep gnome
first 2 commands end up returning the same error
second 2 return
#and
nix-store --query --requisites /run/current-system | grep gnome
/nix/store/2qnzs2vvrmwjn9s1gx7c2snrcca1qfz5-libgnomekbd-3.28.1
/nix/store/71cqq65ycs3rvh2rfqkbawx5wlfbka1r-gnome-user-share-47.2
/nix/store/9w6rc298kbiblf7an3w8i0xgwhjlns4j-gnome-autoar-0.4.5
/nix/store/i3hg6ivcg13yphf40lgbzngchqyfkj0v-gnome-desktop-44.1
/nix/store/asx5srhn4v4qly4k3nsb9ihcx39zp319-gnome-terminal-3.54.2
/nix/store/jpg4gmzwi3zxj7aajzqb2c3h2l93xj53-gnome-session-ctl-47.0.1
/nix/store/f6sdm5pbbdhdh25q331jl2dbpsklpl00-gnome-settings-daemon-47.2
/nix/store/2bahq7xk2yc12ccim5angn1rkxv47dpd-gnome-online-accounts-3.52.3.1
/nix/store/11k9i54sqdfzmss6rxv1wv5zslln0bc8-gnome-keyring-46.2
/nix/store/607n90x49yi7m3806ikl5010k3bj8kc8-NetworkManager-sstp-gnome-1.3.2
/nix/store/8ayh4jy282kvj2abldda4rb73z7031x3-NetworkManager-iodine-gnome-1.2.0-unstable-2024-11-02
/nix/store/1j5bii54y0p0lcwq7kw4v7gfr8z058v1-gnome-calculator-47.1
/nix/store/rla62sp1rd0i1g496c3jij51x8rkd7c2-gnome-icon-theme-3.12.0
/nix/store/pj5vfg4in98x65amgjx9wcmh5m9c2ivz-gnome-console-47.1
/nix/store/f8z4hx7k7lyw95c7q50y37whda6043g4-NetworkManager-l2tp-gnome-1.20.16
/nix/store/ha34j72gbhd4l718rqk8a06736mamrqm-gnome-themes-extra-3.28
/nix/store/i4hf6b0h6cp590l7b5cs6kd73g44a2q2-gnome-online-accounts-gtk-3.50.5
/nix/store/q8smb91g4lf0c2kpj03g3q2mh47hwnh2-polkit-gnome-0.105
/nix/store/qp58f3s6sva0d2xjwsbqhk98mrqp0gcf-gnome-disk-utility-46.1
/nix/store/x8kxvbw7gdazday636pcbv53hkpfb9ll-gnome-calendar-47.0
/nix/store/z37rxpcqq2b5m2x739gshm25p1bcvrj6-NetworkManager-fortisslvpn-gnome-1.4.0
/nix/store/ziz6zgwlb21qqx07cqriwh4kip2a1ynh-gnome-screenshot-41.0
/nix/store/ilpp0gd9s6jm16dwxyd0lbl1q8hcw58g-security-wrapper-gnome-keyring-daemon-x86_64-unknown-linux-musl
ok can you try it without the nix-software-center
This worked! It also fixed my audio issues strangely enough. Good riddance too, nix software center is not it, ty very much.
1 Like