!GsmxjHfeAYLsTEQmjS:nixos.org

Matrix Meta (Nix)

625 Members
Discuss your proposals for the Matrix space here, before suggesting them in #matrix-suggestions:nixos.org178 Servers

Load older messages


SenderMessageTime
25 May 2025
@nicoty:kde.org@nicoty:kde.orgRedacted or Malformed Event13:37:05
@nicoty:kde.org@nicoty:kde.org

Hello. I can't seem to join https://matrix.to/#/#users:nixos.org . Evidently, I can't even show the screenshot of the error, which said "Failed to join
MatrixError: [403] You are not invited to this room. (https://kde.modular.im/_matrix/client/v3/join/!6oudZq5zJjAyrxL2uY%3A0upti.me)". I want to join so I can ask this question:

I'd like to debug this issue with systemd-remount-fs and, ultimately, libmount by using rr on a build of util-linux (which I believe contains libmount that system-remount-fs uses) that is unstripped and has debug symbols included, using nixseparatedebuginfod. How would I go about doing that? Do I just need to build and install a version of util-linux with separateDebugInfo set to true, e.g., by using the following flake:

{
  inputs = {
    disko = {
      url = "github:nix-community/disko";
    };
    nixpkgs = {
      url = "github:NixOS/nixpkgs/nixos-unstable";
    };
  };
  outputs =
    {
      disko,
      nixpkgs,
      self,
      ...
    }:
    let
      defaultUser = "nixos";
      hostName = "nixos";
      system = "x86_64-linux";
    in
    {
      diskoConfigurations = {
        ${hostName} = {
          disko = {
            devices = {
              disk = {
                vda = {
                  device = "/dev/vda";
                  type = "disk";
                  content = {
                    type = "gpt";
                    partitions = {
                      vda1 = {
                        type = "EF00";
                        size = "8G";
                        content = {
                          type = "filesystem";
                          format = "vfat";
                          mountpoint = "/boot";
                        };
                      };
                      vda2 = {
                        size = "100%";
                        content = {
                          type = "bcachefs";
                          filesystem = "bcachefs_a";
                          label = "group_a.vda2";
                        };
                      };
                    };
                  };
                };
              };
              bcachefs_filesystems = {
                bcachefs_a = {
                  type = "bcachefs_filesystem";
                  passwordFile = "/tmp/secret.key";
                  subvolumes = {
                    "subvolumes/root" = {
                      mountpoint = "/";
                    };
                  };
                };
              };
            };
          };
        };
      };
      nixosConfigurations = {
        ${hostName} = (
          nixpkgs.lib.nixosSystem {
            inherit system;
            modules = [
              (
                {
                  config,
                  inputs,
                  lib,
                  pkgs,
                  ...
                }:
                {
                  boot = {
                    kernelPackages = pkgs.linuxPackages_testing;
                    loader = {
                      efi = {
                        canTouchEfiVariables = true;
                      };
                      systemd-boot = {
                        enable = true;
                      };
                    };
                  };
                  console = {
                    keyMap = "uk";
                  };
                  environment = {
                    systemPackages = [
                      pkgs.rr
                      pkgs.util-linux.overrideAttrs (after: before: {
                        separateDebugInfo = true;
                      })
                    ];
                  };
                  i18n = {
                    defaultLocale = "en_GB.UTF-8";
                    extraLocaleSettings = {
                      LC_ADDRESS = "en_GB.UTF-8";
                      LC_IDENTIFICATION = "en_GB.UTF-8";
                      LC_MEASUREMENT = "en_GB.UTF-8";
                      LC_MONETARY = "en_GB.UTF-8";
                      LC_NAME = "en_GB.UTF-8";
                      LC_NUMERIC = "en_GB.UTF-8";
                      LC_PAPER = "en_GB.UTF-8";
                      LC_TELEPHONE = "en_GB.UTF-8";
                      LC_TIME = "en_GB.UTF-8";
                    };
                  };
                  imports = [
                    ./hardware-configuration.nix
                  ];
                  networking = {
                    inherit hostName;
                    networkmanager = {
                      enable = true;
                    };
                  };
                  programs = {
                    git = {
                      enable = true;
                    };
                  };
                  nix = {
                    settings = {
                      experimental-features = [
                        "nix-command"
                        "flakes"
                      ];
                    };
                  };
                  services = {
                    xserver = {
                      xkb = {
                        layout = "gb";
                        variant = "";
                      };
                    };
                  };
                  time = {
                    timeZone = "Europe/London";
                  };
                  users = {
                    users = {
                      ${defaultUser} = {
                        description = "NixOS";
                        extraGroups = [
                          "networkmanager"
                          "wheel"
                        ];
                        isNormalUser = true;
                        packages = [ ];
                      };
                    };
                  };
                  system = {
                    stateVersion = "25.05";
                  };
                }
              )
              self.diskoConfigurations.${hostName}
              disko.nixosModules.disko
            ];
          }
        );
      };
    };
}

Or do I need to do something else to get systemd-remount-fs to use that version of util-linux?

13:39:42
@nicoty:kde.org@nicoty:kde.org *

Hello. I can't seem to join https://matrix.to/#/#users:nixos.org . Evidently, I can't even show the screenshot of the error, which said "Failed to join
MatrixError: [403] You are not invited to this room. (https://kde.modular.im/_matrix/client/v3/join/!6oudZq5zJjAyrxL2uY%3A0upti.me)". I want to join so I can ask this question:

I'd like to debug this issue with systemd-remount-fs and, ultimately, libmount by using rr on a build of util-linux (which I believe contains libmount that system-remount-fs uses) that is unstripped and has debug symbols included, using nixseparatedebuginfod. How would I go about doing that? Do I just need to build and install a version of util-linux with separateDebugInfo set to true, e.g., by using the following flake:

{
  inputs = {
    disko = {
      url = "github:nix-community/disko";
    };
    nixpkgs = {
      url = "github:NixOS/nixpkgs/nixos-unstable";
    };
  };
  outputs =
    {
      disko,
      nixpkgs,
      self,
      ...
    }:
    let
      defaultUser = "nixos";
      hostName = "nixos";
      system = "x86_64-linux";
    in
    {
      diskoConfigurations = {
        ${hostName} = {
          disko = {
            devices = {
              disk = {
                vda = {
                  device = "/dev/vda";
                  type = "disk";
                  content = {
                    type = "gpt";
                    partitions = {
                      vda1 = {
                        type = "EF00";
                        size = "8G";
                        content = {
                          type = "filesystem";
                          format = "vfat";
                          mountpoint = "/boot";
                        };
                      };
                      vda2 = {
                        size = "100%";
                        content = {
                          type = "bcachefs";
                          filesystem = "bcachefs_a";
                          label = "group_a.vda2";
                        };
                      };
                    };
                  };
                };
              };
              bcachefs_filesystems = {
                bcachefs_a = {
                  type = "bcachefs_filesystem";
                  passwordFile = "/tmp/secret.key";
                  subvolumes = {
                    "subvolumes/root" = {
                      mountpoint = "/";
                    };
                  };
                };
              };
            };
          };
        };
      };
      nixosConfigurations = {
        ${hostName} = (
          nixpkgs.lib.nixosSystem {
            inherit system;
            modules = [
              (
                {
                  config,
                  inputs,
                  lib,
                  pkgs,
                  ...
                }:
                {
                  boot = {
                    kernelPackages = pkgs.linuxPackages_testing;
                    loader = {
                      efi = {
                        canTouchEfiVariables = true;
                      };
                      systemd-boot = {
                        enable = true;
                      };
                    };
                  };
                  console = {
                    keyMap = "uk";
                  };
                  environment = {
                    systemPackages = [
                      pkgs.rr
                      pkgs.util-linux.overrideAttrs (after: before: {
                        separateDebugInfo = true;
                      })
                    ];
                  };
                  i18n = {
                    defaultLocale = "en_GB.UTF-8";
                    extraLocaleSettings = {
                      LC_ADDRESS = "en_GB.UTF-8";
                      LC_IDENTIFICATION = "en_GB.UTF-8";
                      LC_MEASUREMENT = "en_GB.UTF-8";
                      LC_MONETARY = "en_GB.UTF-8";
                      LC_NAME = "en_GB.UTF-8";
                      LC_NUMERIC = "en_GB.UTF-8";
                      LC_PAPER = "en_GB.UTF-8";
                      LC_TELEPHONE = "en_GB.UTF-8";
                      LC_TIME = "en_GB.UTF-8";
                    };
                  };
                  imports = [
                    ./hardware-configuration.nix
                  ];
                  networking = {
                    inherit hostName;
                    networkmanager = {
                      enable = true;
                    };
                  };
                  programs = {
                    git = {
                      enable = true;
                    };
                  };
                  nix = {
                    settings = {
                      experimental-features = [
                        "nix-command"
                        "flakes"
                      ];
                    };
                  };
                  services = {
                    xserver = {
                      xkb = {
                        layout = "gb";
                        variant = "";
                      };
                    };
                    nixseparatedebuginfod = {
                      enable = true;
                    };
                  };
                  time = {
                    timeZone = "Europe/London";
                  };
                  users = {
                    users = {
                      ${defaultUser} = {
                        description = "NixOS";
                        extraGroups = [
                          "networkmanager"
                          "wheel"
                        ];
                        isNormalUser = true;
                        packages = [ ];
                      };
                    };
                  };
                  system = {
                    stateVersion = "25.05";
                  };
                }
              )
              self.diskoConfigurations.${hostName}
              disko.nixosModules.disko
            ];
          }
        );
      };
    };
}

Or do I need to do something else to get systemd-remount-fs to use that version of util-linux?

13:45:06
@palasso:matrix.org@palasso:matrix.org Hi nicoty , I sent you an invite for #users:nixos.org. Images are not available right now due to spam attacks. 13:46:23
@nicoty:kde.org@nicoty:kde.org Vassilis Palassopoulos: That makes sense, those CP spammers have been very prolific lately and I'm glad the moderation team are tackling the problem. Anyway, thanks for the invite! 13:47:39
@nicoty:kde.org@nicoty:kde.org left the room.13:51:58
@crazymevt:matrix.org@crazymevt:matrix.org left the room.14:49:51
@nicotel:matrix.orgnicotel joined the room.15:24:49
@mhdask:matrix.org@mhdask:matrix.org joined the room.15:46:44
@mhdask:matrix.org@mhdask:matrix.orgCan i get an invite to the new users room? :)15:47:01
@erahhal:homefree.hosterahhal joined the room.17:52:44
@mhdask:matrix.org@mhdask:matrix.org left the room.18:27:05
@akechishiro:matrix.orgAkechiShiro joined the room.21:32:41
26 May 2025
@ximnoise:infosec.exchangeximnoise joined the room.03:01:27
@ty:myriation.xyzTy (they/them) joined the room.04:04:31
@ty:myriation.xyzTy (they/them)Could I also get an invite please?04:06:35
@uep:matrix.orguepit says you're already in the room. 04:13:12
@uep:matrix.orguepsigh, matrix sync fun yet again04:13:21
@ty:myriation.xyzTy (they/them)I was originally in the room, but then it being turned invite-only did something weird I think My synapse doesn't show the room, only the space so idk04:19:17
@uep:matrix.orguep

yeah. there have been a few cases where:

  • someone can't join the room because it's invite-only
  • I can't invite them; server refuses because they're already in the room
  • I can't kick them; same server refuses because they're not in the room
05:08:39
@uep:matrix.orguepi can set it public for a moment while you join05:09:03
@uep:matrix.orguep Ty (they/them): let me know when you're ready 05:10:04
@ty:myriation.xyzTy (they/them)Sure05:10:29
@ty:myriation.xyzTy (they/them)Now works05:11:21
@uep:matrix.orguepdone05:11:57
@ty:myriation.xyzTy (they/them)In, thanks05:12:51
@uep:matrix.orguepnp05:13:39
@kenran_:matrix.orgkenran_ joined the room.08:12:42
@kenran_:matrix.orgkenran_hey, could I also get an invite please (to #users:nixos.org). I might even have been in but left due to the "old, migrated" name. Is there a different channel that's the current go-to?08:18:28
@kenran_:matrix.orgkenran_* hey, could I also get an invite please (to #users:nixos.org)? I might even have been in but left due to the "old, migrated" name. Is there a different channel that's the current go-to?08:18:35

Show newer messages


Back to Room ListRoom Version: 6