!wfudwzqQUiJYJnqfSY:nixos.org

NixOS Module System

149 Members
30 Servers

Load older messages


SenderMessageTime
3 May 2024
@hexa:lossy.networkhexaawesome flex 🙂 11:45:43
@hexa:lossy.networkhexathanks for linking to that11:45:52
4 May 2024
@hofsiedge:matrix.orgIlya Zuev joined the room.06:50:10
@shalokshalom:kde.orgShalokShalom removed their profile picture.11:27:03
@shalokshalom:kde.orgShalokShalom set a profile picture.11:27:13
@ss:someonex.netSomeoneSerge (UTC+U[-12,12]) changed their display name from SomeoneSerge (is taking time off and doesn't want to hear about it) to SomeoneSerge (Way down Hadestown).21:03:46
8 May 2024
@checooh:matrix.orgchecooh joined the room.11:57:41
9 May 2024
@ss:someonex.netSomeoneSerge (UTC+U[-12,12]) changed their display name from SomeoneSerge (Way down Hadestown) to SomeoneSerge (UTC+3).17:11:29
14 May 2024
@chrillefkrr:matrix.orgchrillefkrr joined the room.15:44:45
@infinisil:matrix.orginfinisil changed their profile picture.17:44:47
@f44:matrix.orgf44 joined the room.17:53:10
16 May 2024
@nuko:shimeji.cafefsnkty left the room.06:19:54
20 May 2024
@ckie:ckie.devmei 🌒& changed their display name from ckie (they/them) to mei 🌒&.00:05:44
21 May 2024
@pxc:matrix.orgpxc if I want to pass a whole NixOS configuration (a nixosConfigurations.<whatever> flake output) to a module, what type should I say it is? does a top-level configuration have a type represented in Nixpkgs lib.types? 02:27:09
@pxc:matrix.orgpxc can I do better than types.attrs? 02:27:58
@nbp:mozilla.orgnbpthe output of a NixOS configuration depends on what is being configured, so the "type" is dependent on what is being configured. This is what submodules are09:17:09
@nbp:mozilla.orgnbpsubmodules are a non-evaluated set of modules which would be evaluated to compute the result.09:17:39
@nbp:mozilla.orgnbpIf you look at the various virtualisation options, you will find some which are re-importing NixOS modules, or suggesting to make mutation to the system configuration IIRC09:18:41
22 May 2024
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:25:50
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:28:05
@infinidoge:matrix.orgMigrated to @infinidoge:inx.moe changed their display name from Infinidoge to Migrated to @infinidoge:inx.moe.21:36:24
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️ joined the room.22:19:53
@infinidoge:matrix.orgMigrated to @infinidoge:inx.moe left the room.22:21:14
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️ changed their display name from Infinidoge 🏳️‍⚧️ to Migrated to @infinidoge:inx.moe.22:35:31
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️ changed their display name from Migrated to @infinidoge:inx.moe to Infinidoge.22:37:11
23 May 2024
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️ changed their display name from Infinidoge to Infinidoge🏳️‍⚧️.01:31:17
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️ changed their display name from Infinidoge🏳️‍⚧️ to Infinidoge 🏳️‍⚧️.01:31:27
26 May 2024
@lehmanator:tchncs.deSam LehmanI want to have several profile configs that all import the same base profile config or nixosModules, but I'd like to be able to import multiple of them simultaneously, which results in an error. My goal is to have each profile work as a fully standalone unit, but also be granularly composable into more featured profiles. Is there some pattern that would allow this organization scheme?10:34:14
@lehmanator:tchncs.deSam Lehman

If lib.evalModules recursively enumerates the entire tree of imports prior to config eval, and each path in imports is uniquely identifable, why does it opt to throw an error instead of filtering the paths of the merged imports list with something like lib.unique?

Is there some behavior of the module system that depends on being able to apply the same import multiple times while building the options attrset?

10:37:03
@djacu:matrix.orgdjacu Sam Lehman: do you have some example code you could link to? 14:31:39

Show newer messages


Back to Room ListRoom Version: 10