Skip Navigation

Search

Nix / NixOS @programming.dev
matto @lemm.ee

LibreWolf not showing store cookies option

Hi all! I'm new to NixOS and so far I'm loving it! I'm in the middle of the process of "nixifying" all my stuff, and I've found a problem that I've not been able to solve yet: When using LibreWolf on my Mac OS laptop, I can easily add exceptions to store cookies from the padlock icon in the search bar, as you can see in the screenshot, so I don't have to re-login to some sites every time I open my browser. The problem is that on my NixOS laptop there is not such an option. I have compared settings in both setups, and they both look the same. I even tried explicitly setting pref.privacy.disable_button.cookie_exceptions to false, but no luck. The option is still not showing in the padlock menu. Here's my LibrefWolf config, in case you are curious.

I know I can manually add exceptions in the settings page, but doing it directly from the search bar is way more convenient.

I searched all aro

Nix / NixOS @programming.dev
Blastboom Strice @mander.xyz

System configuration files check wanted

Hello everyone, I'm very close to finishing my configuration files for NixOS. I have those working on my nixos installation on my external drive, but before I officially move to nixos I'd like to make sure that I'm not doing something wrong.

Could someone please check my config files? (I only use flakes.nix, configuration.nix, home.nix and hardware.nix and I'd say they aren't much complicated.)

My main concearn is that I probably use the import and modules functions wrong (yet somehow they work?). I've read and watched numerous guides for the last 3 months, but I think I still mess this up😅. I think following a bunch of different guides and videos added to the confusion a bit. (A recent guide I read made me have doubts about my set up.)

This is the link to my nixos configs:

https://codeberg.org/BlastboomStrice/dotfiles/src/branch/main/.config/nixos-conf

Hopefully by the end of the next week I'll be p

Nix / NixOS @programming.dev
Morphit @feddit.uk

User service with Python packages for Jupyter

Hi All,
I'm still very new to Nix but trying to daily-drive NixOS.

What I'm currently stuck on is injecting Python packages into a Jupyterlab service. What I have at the moment in the home-manager.home portion of my system flake is the following:

 undefined
    
  systemd.user.services.jupyter = let
    jupyter = pkgs.jupyter-all.override {
      python3 = pkgs.python311.withPackages (python-pkgs: with python-pkgs; [
        numpy
        matplotlib
      ]);
    };
  in {
    Service = {
      Type = "simple";
      WorkingDirectory = "${home.homeDirectory}/notebooks";
      ExecStart = "${jupyter}/bin/jupyter-lab --no-browser";
    };
  };

  

This fires up a JupyterLab process that I can connect to and which runs fine, but numpy etc. can't be imported. From a devshell, I see that the python.withPackages mechanism seems to rely on $PYTHONPATH to pass in a python3-3.11.8-env package that contains a lib/python3.11/site-packages. I'm guessing that the systemd service just needs to h

Nix / NixOS @programming.dev
Johanno @feddit.de

Iscsi setup question

I have found those options for setting up iscsi, but since I am new to nixos (started yesterday) I don't have any idea how to configure the configuration.nix file to setup iscsi.

I already installed open-iscsi but it doesn't work on nixos it seems