!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

833 Members
165 Servers

Load older messages


SenderMessageTime
8 Aug 2025
@selkie-diligent-61ad45186da03739848be880:gitter.im@selkie-diligent-61ad45186da03739848be880:gitter.im joined the room.13:06:05
@selkie-diligent-61ad45186da03739848be880:gitter.im@selkie-diligent-61ad45186da03739848be880:gitter.im left the room.13:06:58
@bryan:snowboardtechie.com@bryan:snowboardtechie.com left the room.17:04:50
@carbsta:matrix.orgCarbsta (they/them) changed their display name from carbsta to Carbsta (they/them).18:13:54
9 Aug 2025
@seapat:matrix.orgseapat set a profile picture.14:23:02
@0x545a:matrix.org0x545a joined the room.15:15:37
11 Aug 2025
@dminca:matrix.org@dminca:matrix.org

hi 👋 I’ve got this setup currently https://github.com/dminca/nix-config and I’m confused if I run “nix run” on “MLGERHL6W4P2RXH” host, package “discord” is being built even though it’s not included in this “home.nix” https://github.com/dminca/nix-config/blob/main/hosts/MLGERHL6W4P2RXH/home.nix

rather, that’s coming from host “ZionProxy” https://github.com/dminca/nix-config/blob/9685d2ac4f4e126f3e63aea145c3ec7c60092f6e/hosts/ZionProxy/home.nix#L24

Perhaps I don’t understand how this whole flake is constructed and fed to Nix, but to my understanding if I’m importing a specific config in a host, it should ignore compiling the rest of the stuff, am I right or … ? In addition, how can I prevent this from happening, I don’t want to wait to compile everything and then just install whatever’s targetted for that specific host 🤔

Thank you for your patience 🙏

12:14:53
@dminca:matrix.org@dminca:matrix.org *

hi 👋 I’ve got this setup currently https://github.com/dminca/nix-config and I’m confused if I run “nix run” on “MLGERHL6W4P2RXH” host, package “discord” is being built even though it’s not included in this “home.nix” https://github.com/dminca/nix-config/blob/main/hosts/MLGERHL6W4P2RXH/home.nix

rather, that’s coming from host “ZionProxy” https://github.com/dminca/nix-config/blob/9685d2ac4f4e126f3e63aea145c3ec7c60092f6e/hosts/ZionProxy/home.nix#L24

Perhaps I don’t understand how this whole flake is constructed and fed to Nix, but to my understanding if I’m importing a specific config in a host, it should ignore compiling the rest of the stuff, am I right or … ? In addition, how can I prevent this from happening, I don’t want to wait to compile everything and then just install whatever’s targetted for that specific host 🤔

Any help/advice is much appreciated 🙏

12:16:14
@dminca:matrix.org@dminca:matrix.org *

hi 👋 I’ve got this setup currently https://github.com/dminca/nix-config and I’m confused if I run “nix run” on “MLGERHL6W4P2RXH” host, package “discord” is being built even though it’s not included in this “home.nix” https://github.com/dminca/nix-config/blob/main/hosts/MLGERHL6W4P2RXH/home.nix

rather, that’s coming from host “ZionProxy” https://github.com/dminca/nix-config/blob/9685d2ac4f4e126f3e63aea145c3ec7c60092f6e/hosts/ZionProxy/home.nix#L24

Perhaps I don’t understand how this whole flake is constructed and fed to Nix, but to my understanding if I’m importing a specific config in a host, it should ignore compiling the rest of the stuff, am I right or … ? In addition, how can I prevent this from happening, I don’t want to wait to compile everything and then just install whatever’s targetted for that specific host 🤔

Any help/advice/guidance is much appreciated 🙏

12:16:33
@dramforever:matrix.orgdramforever
In reply to @dminca:matrix.org

hi 👋 I’ve got this setup currently https://github.com/dminca/nix-config and I’m confused if I run “nix run” on “MLGERHL6W4P2RXH” host, package “discord” is being built even though it’s not included in this “home.nix” https://github.com/dminca/nix-config/blob/main/hosts/MLGERHL6W4P2RXH/home.nix

rather, that’s coming from host “ZionProxy” https://github.com/dminca/nix-config/blob/9685d2ac4f4e126f3e63aea145c3ec7c60092f6e/hosts/ZionProxy/home.nix#L24

Perhaps I don’t understand how this whole flake is constructed and fed to Nix, but to my understanding if I’m importing a specific config in a host, it should ignore compiling the rest of the stuff, am I right or … ? In addition, how can I prevent this from happening, I don’t want to wait to compile everything and then just install whatever’s targetted for that specific host 🤔

Any help/advice/guidance is much appreciated 🙏

your apply-configurations script depends on both configurations
12:18:01
@dramforever:matrix.orgdramforever so when you nix run the script both gets built 12:18:20
@dramforever:matrix.orgdramforever i'd say consider calling home-manager and darwin-rebuild without the path. it's just a convenience script - no need to make it depend on the configs themselves 12:19:23
@dramforever:matrix.orgdramforeveralso check out https://github.com/nix-community/nh for a possibly more convenient helper12:19:48
@dminca:matrix.org@dminca:matrix.org

ohhh it makes sense 🤔 never thought doing it that way might cause this behavior. Thanks so much!

Will look into nh as well to get a better grasp of it, thanks for sharing 🍻

12:21:24
@spaenny:tchncs.deSpaenny changed their display name from Philipp to Spaenny.14:46:46
12 Aug 2025
@josh:joshuayuen.meJosh joined the room.16:07:12
13 Aug 2025
@impqxr:matrix.orgimpqxr set their display name to impqxr.12:53:49
@picnoir:alternativebit.frPicnoir changed their display name from Picnoir DECT 7426 to Picnoir.13:24:26
14 Aug 2025
@dunxen:x0f.orgdunxen changed their profile picture.10:56:49
@spoody:spoodythe.oneL joined the room.18:47:32
@tumypmyp:matrix.orgTimur Gainullin joined the room.19:17:45
@chomatic:matrix.orgchomatic joined the room.19:30:26
15 Aug 2025
@swedishhat:matrix.org@swedishhat:matrix.org left the room.03:42:16
16 Aug 2025
@pheoxy:matrix.orgPheoxy [AWST/UTC+8] joined the room.12:46:55
18 Aug 2025
@tengkuizdihar:matrix.orgtengkuizdihar changed their display name from FPS DEV GUY (izdihar) to tengkuizdihar.13:42:21
19 Aug 2025
@tim:thaemisch.net@tim:thaemisch.net left the room.09:23:54
20 Aug 2025
@2kool4idkwhat:matrix.org@2kool4idkwhat:matrix.org left the room.14:18:05
@jopejoe1:matrix.orgjopejoe1 changed their display name from jopejoe1 (4094@GPN23) to jopejoe1.18:50:24
21 Aug 2025
@creepinson:matrix.org@creepinson:matrix.org joined the room.22:10:41
22 Aug 2025
@corridor4572:matrix.orgRichInOverdraft joined the room.00:43:17

Show newer messages


Back to Room ListRoom Version: 6