#configurationdotnix

2025-06-08

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 youtu.be/ACybVzRvDhs

the flake.nix file in the tutorial video
2024-11-24

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

extract from configuration.nix for printing on nixos

# Enable CUPS to print documents.
  services.printing.enable = true;
  # see https://nixos.wiki/wiki/Printing 
  services.printing.drivers = [pkgs.brlaser]; #not sure if this is being used by the setup below....


  hardware.printers = {
  ensurePrinters = [
    {
      name = "Brother_MFC_L3770CDW_series";
      location = "Home; upstairs upstairs";
      #deviceUri = "http://192.168.YY.XX:631"; # old on 24-11-24 testing HomeNetVPN 
      deviceUri = "http://192.168.NEW.NEW:631";
        model = "drv:///sample.drv/generic.ppd"; #using this works on 7-1-23 18:28 
      # the above is used with services.avahi NOT used i.e commented out above 
      ppdOptions = {
        PageSize = "A4";
      };
    }
  ];
  ensureDefaultPrinter = "Brother_MFC_L3770CDW_series";GUI in browser which sets up VPN Aircove Router - drag and drop to allocate different machines to different groups wherein each group has its own settings e.g. no VPN, or off times
2024-11-16

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!

2024-05-07

@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 .

2024-01-11

@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
pastebin.com/SCNv2c3h
see lines 78-158

feedback welcome !!

2024-01-07

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
pastebin.com/SCNv2c3h
see lines 78-158

Text of hardware.printers parameters from configuration.nix
with lots of comments about stuff that did not work....

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst