Solved NixOS Stable (Cinnamon) - Terminal exits with no errorcode when rebuilding

Solved issue

tinfoil-hat

Active Member
Joined
Oct 24, 2021
Messages
409
Reaction score
209
Credits
2,846
Hi, here's my Nixos config:
Code:
# Edit this configuration file to define what should be installed on
# your system.  Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).

{ config, pkgs, ... }:

{
  imports =
    [ # Include the results of the hardware scan.
      ./hardware-configuration.nix
    ];

  # Bootloader.
  boot.loader.grub.enable = true;
  boot.loader.grub.device = "/dev/sda";
  boot.loader.grub.useOSProber = true;

  networking.hostName = "goliath"; # Define your hostname.
  # networking.wireless.enable = true;  # Enables wireless support via wpa_supplicant.

  # Configure network proxy if necessary
  # networking.proxy.default = "http://user:password@proxy:port/";
  # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";

  # Enable networking
  networking.networkmanager.enable = true;

  # Set your time zone.
  time.timeZone = "Europe/Berlin";

  # Select internationalisation properties.
  i18n.defaultLocale = "de_DE.UTF-8";

  i18n.extraLocaleSettings = {
    LC_ADDRESS = "de_DE.UTF-8";
    LC_IDENTIFICATION = "de_DE.UTF-8";
    LC_MEASUREMENT = "de_DE.UTF-8";
    LC_MONETARY = "de_DE.UTF-8";
    LC_NAME = "de_DE.UTF-8";
    LC_NUMERIC = "de_DE.UTF-8";
    LC_PAPER = "de_DE.UTF-8";
    LC_TELEPHONE = "de_DE.UTF-8";
    LC_TIME = "de_DE.UTF-8";
  };

  # Enable the X11 windowing system.
  services.xserver.enable = true;

  # Enable the Cinnamon Desktop Environment.
  services.xserver.displayManager.lightdm.enable = true;
  services.xserver.desktopManager.cinnamon.enable = true;

  # Configure keymap in X11
  services.xserver = {
    xkb.layout = "de";
    xkb.variant = "";
  };

  # Configure console keymap
  console.keyMap = "de";

  # Enable CUPS to print documents.
  services.printing.enable = true;

  # Enable sound with pipewire.
  hardware.pulseaudio.enable = false;
  security.rtkit.enable = true;
  services.pipewire = {
    enable = true;
    alsa.enable = true;
    alsa.support32Bit = true;
    pulse.enable = true;
    # If you want to use JACK applications, uncomment this
    #jack.enable = true;

    # use the example session manager (no others are packaged yet so this is enabled by default,
    # no need to redefine it in your config for now)
    #media-session.enable = true;
  };

  # Enable touchpad support (enabled default in most desktopManager).
  # services.xserver.libinput.enable = true;

  # Define a user account. Don't forget to set a password with ‘passwd’.
  users.users.anon = {
    isNormalUser = true;
    description = "anon";
    extraGroups = [ "networkmanager" "wheel" ];
    packages = with pkgs; [
    #  thunderbird
    ];
  };

  # Install firefox.
  programs.firefox.enable = true;

  # Allow unfree packages
  nixpkgs.config.allowUnfree = true;

  # List packages installed in system profile. To search, run:
  # $ nix search wget
  environment.systemPackages = with pkgs; [
    # CLI
    vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
    zsh
    gomuks
    mpv
    ncspot
    ranger
    rsync
    rclone
    wget
    curl
    git
    htop
    fastfetch
    neofetch
    tor
    torsocks
    mpd
    ncmpcpp
    # GUI
    terminator
    firefox
    brave
    thunderbird
    filezilla
    keepassxc
    steam
    spotify
    joplin
    virtualbox
    onlyoffice-bin
    kdePackages.kolourpaint
    gimp
    discord
    gajim
    hexchat
    element-desktop
    electrum
    paperwork
    vscode
    qbittorrent
    qtox
    rclone-browser
    remmina
    rustdesk
    seafile-client
    nextcloud-client
    vlc
    celluloid
    kdePackages.kdenlive
    obs-studio
    vokoscreen-ng
  ];

  # 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;

  # This value determines the NixOS release from which the default
  # settings for stateful data, like file locations and database versions
  # on your system were taken. It‘s perfectly fine and recommended to leave
  # this value at the release version of the first install of this system.
  # Before changing this value read the documentation for this option
  # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
  system.stateVersion = "24.05"; # Did you read the comment?

}

The last information that is being posted, before compiling, and crash is:

Code:
building Nix...
building the system configuration...
these 13 derivations will be built:
  /nix/store/mg0lr59j5yksvcqvgqm7vhya9zmqispq-rustdesk-1.2.3.drv
  /nix/store/5gg5m8bk0p5xqifjw659nnfld41vgsc3-system-path.drv
  /nix/store/nbpj5r22cg5wnkbk0nsqcyvddx2fiv4h-dbus-1.drv
  /nix/store/p18j9fk3y99fhafrx31sry6mfz4yk81z-X-Restart-Triggers-dbus.drv
  /nix/store/2xjzqr3dkj6d9gbpfxi24fj48mgj2jhm-unit-dbus.service.drv
  /nix/store/z8ya61c3mnclf3km5gyczscbxjfi542k-unit-dbus.service.drv
  /nix/store/487i2dxyl0p0gi4hm1b3ix8vy2jhnyyj-user-units.drv
  /nix/store/palw0rp3m938vq63f3fbvvdp26km44yi-X-Restart-Triggers-polkit.drv
  /nix/store/prv7jnj1ai3bpr50vwldryxvvzp4ydys-unit-polkit.service.drv
  /nix/store/qas7m3r6ibib1cw9cfxkxbb1sqi4036b-unit-accounts-daemon.service.drv
  /nix/store/gh17b829jrv9ya2si5znfph46rqyzji3-system-units.drv
  /nix/store/dkaddfnd8955k07fyw5x1av44yj7wmm1-etc.drv
  /nix/store/ynqksgdfcmx3cn02l4v1iwwyccpkrwk9-nixos-system-goliath-24.05.3844.a731b45590a5.drv
building '/nix/store/mg0lr59j5yksvcqvgqm7vhya9zmqispq-rustdesk-1.2.3.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/w8fbvbfzik3jyqpfdk566vq0dpzm9qzr-source
source root is source
Executing cargoSetupPostUnpackHook
Finished cargoSetupPostUnpackHook
Running phase: patchPhase
Executing cargoSetupPostPatchHook
Validating consistency between /build/source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock
Finished cargoSetupPostPatchHook
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
Running phase: buildPhase
Executing cargoBuildHook

I have already rebooted, and no other nixconfiguration appears in boot menu, I'm a bit lost, maybe there's help out there

- Cheers - tinfoil-hat
 


Code:
rustdesk
seems to be the problematic package, replacing it by
Code:
rustdesk-flutter
seems to do the trick
 

Members online


Latest posts

Top