!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

642 Members
NixOS ❤️ systemd174 Servers

Load older messages


SenderMessageTime
5 Oct 2021
@janne.hess:helsinki-systems.deJanne Heßhttps://switch-to-configuration.pl totally worth it21:44:32
@arianvp:matrix.orgArianLol22:00:04
6 Oct 2021
@jkarlson:kapsi.fiEmil Karlsonso I was complaining about nix builder nice levels as always, it uses systemd service unit to set Nice, which systemd does, now I looked at my systemctl status and swa the builders are in my desktop session scope05:30:18
@jkarlson:kapsi.fiEmil Karlsonand obviously they do not have nice level set05:30:40
@jkarlson:kapsi.fiEmil Karlsoncan someone explain what's going on05:30:59
@jkarlson:kapsi.fiEmil KarlsonI don't have any special settings I am aware of, but maybe I do05:31:21
@jkarlson:kapsi.fiEmil KarlsonI have in the past straced nix-daemon and I do see it spawning the builders05:31:53
@jkarlson:kapsi.fiEmil Karlson * so I was complaining about nix builder nice levels as always, it uses systemd service unit to set Nice, which systemd does, now I looked at my systemctl status and saw the builders are in my desktop session scope 05:32:40
@jkarlson:kapsi.fiEmil KarlsonI'll try that again, when the current build finishes05:33:12
@jkarlson:kapsi.fiEmil Karlsonjust to confirm I am not insane, someone could at least check systemctl status and see the builders' scope05:34:11
@jkarlson:kapsi.fiEmil Karlson(I'm on master from yesterday evening after pipewire aarch64 fix)05:34:50
@jkarlson:kapsi.fiEmil Karlson(maybe nix intentionally inherits the scope of the scope asking for the build to properly allocate resources)05:37:16
@lourkeur:nixos.devLouis Bettens
In reply to @jkarlson:kapsi.fi
so I was complaining about nix builder nice levels as always, it uses systemd service unit to set Nice, which systemd does, now I looked at my systemctl status and saw the builders are in my desktop session scope
Are you building as root? In my experience, root bypasses the daemon but an ordinary user does not...
06:44:58
@jkarlson:kapsi.fiEmil Karlsonyes, thanks07:06:16
@jkarlson:kapsi.fiEmil Karlsonmaybe should add this to the nice thing docs07:06:32
@jkarlson:kapsi.fiEmil KarlsonI guess I can just use normal nice then07:06:41
@rosariopulella:matrix.orgRosario Pulella changed their display name from rosariopulella to Rosuavio.10:38:28
@rosariopulella:matrix.orgRosario Pulella changed their display name from Rosuavio to Rosario Pulella.10:44:53
@symphorien:xlumurb.eusymphorien joined the room.13:52:38
@nirahv:matrix.orgnirahv (it is kanashimia) joined the room.21:26:04
@kamadorueda:matrix.orgkamadorueda joined the room.22:27:06
9 Oct 2021
@coolshaurya:community.rscoolshaurya joined the room.18:04:22
11 Oct 2021
@kloenk:petabyte.devFinn Behrens (he/him) andi-: do you known of this rfc? maybe it's something for you? 06:59:11
@eyjhb:eyjhb.dkeyJhbWhat is the best way to test a PR from systemd/systemd in NixOS? https://github.com/systemd/systemd/pull/2097607:26:40
@eyjhb:eyjhb.dkeyJhb

Because, the patch does not apply cleanly

  systemd.package = pkgs.systemd.overrideAttrs(old: {
    patches = old.patches ++ [
      # ./patches/systemd-ipv6.patch
      (pkgs.fetchpatch {
        url = "https://github.com/systemd/systemd/pull/20976.patch";
        sha256 = "0wy536cf7qvmk1rjbq6xw1a0bkq4cmzhd4xwb0gjrn7kiaf31psp";
      })
    ];
  });
07:26:55
@lvkm:matrix.orglvkm eyJhb: you're only getting a delegated prefix from your ISP? no framed prefix? :O 07:34:14
@eyjhb:eyjhb.dkeyJhb So.... lvkm I am still new to this. What is the difference? 07:35:14
@lvkm:matrix.orglvkmthe delegated prefix is used for the LAN interfaces (what seems to work in your case), the framed prefix is intended to be used on the upstream interface07:36:23
@lvkm:matrix.orglvkmif you are not getting one, then your ISPs ipv6 deployment is kinda broken :/07:36:46
@lvkm:matrix.orglvkmthere shouldn't be any need to assign the delegated prefix to the upstream interface07:37:22

There are no newer messages yet.


Back to Room ListRoom Version: 6