Just in case it is of interest, the #Huawei #E3372 LTE USB #dongle #usbstick #cellularmodem works on a #Thinkpad #X230 under #nixos running #gnome. Details of #configurationdotnix in replies to this post. Credits: chatGPT iteratively....
Important: use http://192.168.8.1 to set SIM pin manually after the device has been shown to be recognised and modeswitched using the checks:
lsusb
nmcli
ls /dev/cdc-wdm*
lsmod | grep cdc
and importantly:
usb_modeswitch --version
returns a good output message

Running #nixos #nixos25dot05 with #gnome or #kde_plasma desktop on #lenovo #thinkpad #x230 seems to require

services.xserver.displayManager.gdm.wayland = false;

in #configurationdotnix

This was what #chatgpt told me, and the fix it worked.

I used #flakes for the first time by following this nice video https://youtu.be/ACybVzRvDhs

Neovim in 100 Seconds

YouTube

#aircove #expressvpn #router #wifi #printing #brother #mfcl3770cdw on #nixos
0) Activate WiFi printing on printer (disables previous wired LAN connection, cannot have both)
1) enter new #ipaddress of the printer by adapting the #configurationdotnix (IP address shown on printer settings screen & web browser dashboard expressvpnrouter.com)
2) drag & drop printer into the so-called "group" "No VPN"
3) enjoy printing

Had set aside the whole afternoon 4 this but now can do the washing up instead.

Tried running #linux #tails operating system off a #bootable #usb .
#distro seems to work nicely. It entirely disappears on shutdown due to
being in RAM only. But then the OS needs all settings and configuration
set afresh on next restart.

What about if I run a #nixOS #container #vm #virtalmachine #virtualize
inside Tails then I could maybe use my #configurationdotnix after each
reboot to save manually reconfiguring after each reboot. What is the
best way of doing this? Tips welcome. Thanks!

@whydoesnothingwork Thanks 🙏 Really good clear useful video of how modules are needed / used in #nixos with the #configurationdotnix to set ( #port #ipaddress etc. ) parameters using #execstart and #systemd for an application / #package #clouddns providing a #service .

@wentasah My solution after same and / or similar problems:
use the following in my #configurationdotnix #nixconfiguration
configuration.nix
file:
 
services.printing.enable = true;
services.printing.drivers = [pkgs.brlaser];

with additionally the lines in the image below:

Complete configuration.nix is listed here
https://pastebin.com/SCNv2c3h
see lines 78-158

feedback welcome !!

20240107_configuration.nix - Pastebin.com

Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

Pastebin

After about 4 months running #nixos I had to fix the #printing problems. After many hours fiddling & trying various fixes, the only way I got my #Brother #LAN local #network #printer to work was to use the following in my #configurationdotnix #nixconfiguration
configuration.nix
file:

services.printing.enable = true;
services.printing.drivers = [pkgs.brlaser];

with additionally the lines in the image below:

Complete configuration.nix is listed here
https://pastebin.com/SCNv2c3h
see lines 78-158

20240107_configuration.nix - Pastebin.com

Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

Pastebin
NixOS rollback questions

Ok thanks. So let me make sure I have this clear. System configurations don’t keep a snapshot of the configuration.nix file that created them....

reddit