!wfudwzqQUiJYJnqfSY:nixos.org

NixOS Module System

188 Members
42 Servers

Load older messages


SenderMessageTime
17 Apr 2026
@robin:robin.town@robin:robin.town joined the room.18:57:51
@robin:robin.town@robin:robin.town left the room.19:04:02
18 Apr 2026
@lukas:landgraf.moeLukas joined the room.01:17:12
@rasmata:matrix.org@rasmata:matrix.org joined the room.15:53:09
@rasmata:matrix.org@rasmata:matrix.org left the room.15:53:12
23 Apr 2026
@maxisthespy:matrix.orgMaxisthespy joined the room.21:25:27
27 Apr 2026
@ninja:worldethicaldataforum.orgNinja joined the room.14:34:01
30 Apr 2026
@isabel:isabelroses.comisabel changed their profile picture.18:47:35
1 May 2026
@llakala:matrix.orgllakala set a profile picture.17:12:42
3 May 2026
@isabel:isabelroses.comisabel changed their profile picture.10:39:10
8 May 2026
@jopejoe1:matrix.orgjopejoe1 (4094@39c3) changed their display name from jopejoe1 (4094@epvpn) to jopejoe1.08:46:19
9 May 2026
@me:linj.techlinj joined the room.05:02:21
11 May 2026
@maelys_pan:matrix.orgMaëlys joined the room.20:40:21
12 May 2026
@artify:artify.zoneRichard Tichý joined the room.11:19:41
@koutensky:matrix.nesad.fit.vutbr.czMichal Koutenský joined the room.18:16:59
14 May 2026
@cwtuh:matrix.orgtuhana joined the room.15:12:49
8 Feb 2024
@aciceri:nixos.devaciceri joined the room.10:38:02
15 Feb 2024
@a-kenji:matrix.orgkenji joined the room.19:15:14
16 Feb 2024
@qyriad:matrix.orgQyriad joined the room.14:56:15
@mr-qubo:matrix.orgmr-qubo joined the room.14:59:24
@mr-qubo:matrix.orgmr-qubo

I recently stumbled upon similar issue when working on home-manager. https://discourse.nixos.org/t/is-it-possible-to-define-systemd-services-in-a-submodule/39538/5

The idea is that enabling https://nix-community.github.io/home-manager/options.xhtml#opt-programs.bash.enableCompletion should set environment.pathsToLink = [ "/share/bash-completion" ];.

I think that module system is missing an option to pass config options recursively up to all ancestors.

15:06:01
@mr-qubo:matrix.orgmr-qubo My idea is that nixos config could have a property extraNixosChildConfig and in home-manager bash module I could set _recurseAncestors = { extraNixosChildConfig = { environment.pathsToLink = [ ... ]; }; }. 15:07:22
@mr-qubo:matrix.orgmr-qubowdyt?15:07:26
@mr-qubo:matrix.orgmr-qubo * My idea is that nixos config could have a property extraNixosChildConfig that gets merged with the rest of the config and in home-manager bash module I could set _recurseAncestors = { extraNixosChildConfig = { environment.pathsToLink = [ ... ]; }; }. 15:07:44
@mr-qubo:matrix.orgmr-qubo * My idea is that nixos config could pick up extraNixosChildConfig from childs and merge it with the rest of the config and in home-manager bash module I could set _recurseAncestors = { extraNixosChildConfig = { environment.pathsToLink = [ ... ]; }; }. 15:08:21
@infinisil:matrix.orginfinisilNot sure about that recursive thing, that doesn't seem necessary, but yeah if there's something missing in the NixOS module for home-manager, that could be added15:34:09
@infinisil:matrix.orginfinisilSounds like an issue for the home-manager repo15:34:16
@mr-qubo:matrix.orgmr-quboYeah, we could add it just for home-manager. But is seems like the issue is quite generic. See also https://github.com/NixOS/nixpkgs/pull/152785.15:51:50
@infinisil:matrix.orginfinisilHmm yeah fair. I don't have the capacity to think a lot about this right now, it's a very intricate topic to wrap ones head around15:56:55
@mr-qubo:matrix.orgmr-quboYeah, I just wanted to bring the topic, maybe someone has some interesting thoughts.16:05:23

Show newer messages


Back to Room ListRoom Version: 10