!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

854 Members
177 Servers

Load older messages


SenderMessageTime
7 Aug 2025
@myme:matrix.orgmyme joined the room.21:14:02
8 Aug 2025
@dramforever:matrix.orgdramforever wonder if anyone else uses git+https flake input for nixpkgs 01:50:06
@dramforever:matrix.orgdramforeverincremental updates are so much faster01:50:23
@dramforever:matrix.orgdramforeveron the other hand seems to nix substitute flake input fetches01:53:28
@dramforever:matrix.orgdramforeverso that's still one download01:53:34
@dramforever:matrix.orgdramforever* so that's still one download whenever it does get gc'd01:53:41
@dramforever:matrix.orgdramforeverbut that's easy to work around, just hold on to it in the system closure or something (which by default the flake registry thing already does yay)01:54:03
@0x4a6f:nixos.dev0x4A6F joined the room.06:28:06
@picnoir:alternativebit.frPicnoir changed their display name from Picnoir to Picnoir DECT 7426.12:33:25
@carbsta:matrix.orgCarbsta (they/them) joined the room.13:01:53
@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

Show newer messages


Back to Room ListRoom Version: 6