Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)SU
suspectum @lemmy.ml
Posts 2
Comments 10
Coders, what is your workflow on Linux
  • Teams for Linux sucks and is not maintained anymore. Devs recommend using the web app and this is what I'm using in Chrome, works really well. Otherwise I'm also on Tumbleweed KDE :)

  • Cannot install nix package manager without sudo privileges
  • That's all right, thanks! It seems that it does do something indeed, I had to run with debug information and it was simply taking a long time to configure itself

    NP_DEBUG=2 ./nix-portable nix-shell -p hello
    

    The only issue is I downloaded a binary package which is dated early 2022 and it uses nix 2.5.1. I need to figure out how to force it to use the latest version of nix.

  • Cannot install nix package manager without sudo privileges
  • Thanks, this explains it. I'm trying to set up nix-portable now, but it's quite confusing. I downloaded nix-portable binary which is a self-extracting archive that silently unpacked a bunch of files to ~/.nix-portable:

    $ ls ~/.nix-portable/bin/
    bwrap  proot  zstd
    

    It seems I was meant to run it like so ./nix-portable nix-shell but this does nothing. On my local machine running OpenSUSE Tumbleweed it exists immediately, whereas on my work HPC server it gets stuck.

  • Cannot install nix package manager without sudo privileges
  • Thanks! I do run it indeed as a user. I don't have a sudo access on this server so I would like to do a completely portable installation. I downloaded a portable binary for nix https://releases.nixos.org/?prefix=nix/nix-2.16.1/ and unpacked it on a file system, however when running nix it thinks that nix store is at /nix/store:

    $ /work/apps/nix/store/jdijjdjl6gjh07s4mwgb6bvm501hmjvh-nix-2.16.1/bin/nix
    -bash: /work/apps/nix/store/jdijjdjl6gjh07s4mwgb6bvm501hmjvh-nix-2.16.1/bin/nix: /nix/store/4nlgxhb09sdr51nc9hdm8az5b08vzkgx-glibc-2.35-163/lib/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory
    

    So far I wasn't able to configure a different location for nix store: I created ~/.config/nix/nix.conf and put this line inside nix.storeDir = /work/apps/nix/store but it couldn't pick up the custom store location.

  • nixos @lemmy.ml suspectum @lemmy.ml

    Cannot install nix package manager without sudo privileges

    First of all, I'm completely new to Nix and I have no idea what I'm doing. I would like to use it initially as a more general purpose replacement of conda environments for my AI-development workflow. To begin with, I'd like to install nix package manager at my work server where I don't have root access. I tried

    sh <(curl -L https://nixos.org/nix/install) --no-daemon

    however it tries to create /nix which I cannot do without sudo. I searched everywhere, but I don't seem to find a way to circumvent this.

    Thanks!

    10
    Distro suggestions?
  • OpenSUSE Tumbleweed is a great choice for a robust rolling distribution. Automated testing of packages rules out most of regressions and its KDE implementation is top notch. If you were considering Fedora or Arch, look no further.

  • Why is openSUSE so... weird?
  • I must admit I've mostly been an Ubuntu user since about 2007. But switching to Tumbleweed was like a breath of fresh air. A lot of the things were different, but accumulated experience over years allowed me to feel at home. I used YaST once or twice, you don't need it at all.

  • Suggested Distro?
  • OpenSUSE Tumbleweed. It is a rolling distro like Arch but has automated testing of packages, and has been extremely stable in my experience. It's great for gaming because you get all the latest software very quickly after release. According to my observations TW receives updates on average quicker than Arch.

  • Arch Linux isn't up to date anymore
  • OpenSUSE Tumbleweed is really good at keeping up with the latest packages while remaining really stable. Despite recieving gigabytes of updates since February when I first installed it I had a far better experience compared to the "stable" Ubuntu I was using before.

  • nixos @lemmy.ml suspectum @lemmy.ml

    KDE Plasma session in a nix-env

    Hi, I'm new to nix and NixOS and would like to try out the package manager first on a different host OS (I use OpenSUSE Tumbleweed). I want to build KDE Plasma desktop in its own nix environment isolated from the rest of the system and be able to launch a graphical desktop session (requires integration from systemd and d-bus). Do you think that should be possible with nix?

    0