!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

873 Members
175 Servers

Load older messages


SenderMessageTime
5 Aug 2021
@j-k:matrix.orgj-k ahh I can do nix build .#nixosConfigurations.HOSTNAME.config.system.build.toplevel -> nix build .#nixosConfigurations.HOSTNAME.config.system.build.amazonImage if I add the nixos/maintainers/scripts/ec2/amazon-image.nix module, not just the nixos/modules/virtualisation/amazon-image.nix 11:32:16
@j-k:matrix.orgj-k * ahh I can do nix build .#nixosConfigurations.HOSTNAME.config.system.build.toplevel -> nix build .#nixosConfigurations.HOSTNAME.config.system.build.amazonImage if I add the nixos/maintainers/scripts/ec2/amazon-image.nix module, not just the nixos/modules/virtualisation/amazon-image.nix module 11:32:32
6 Aug 2021
@starf0x7:matrix.orgjurraca joined the room.17:36:46
7 Aug 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao) changed their display name from David Arnold to David Arnold (blaggacao).17:57:32
@blaggacao:matrix.orgDavid Arnold (blaggacao) removed their profile picture.17:57:52
@blaggacao:matrix.orgDavid Arnold (blaggacao) set a profile picture.17:58:18
9 Aug 2021
@tim:stratum0.orgdadada (they/them) changed their display name from dadada to dadada (they/them).15:59:58
11 Aug 2021
@elonsroadster:matrix.orgelonsroadster changed their display name from Ivan Malison to elonsroadster.00:18:57
@elonsroadster:matrix.orgelonsroadsterIs there a way to ignore the flake.lock file of a flake that you are using as an input completely?05:20:36
@balsoft:balsoft.rubalsoft People who manage their nixos desktops with flakes: how do you handle the programs.sqlite thing? It used to be distributed together with channels, but now it isn't... 11:59:44
@balsoft:balsoft.rubalsoft * People who manage their nixos desktops with flakes: how do you handle the programs.sqlite thing? It used to be distributed together with channels, but it's not an option with flakes... 13:06:03
@niksnut:matrix.orgniksnut
In reply to @balsoft:balsoft.ru
People who manage their nixos desktops with flakes: how do you handle the programs.sqlite thing? It used to be distributed together with channels, but it's not an option with flakes...
Yeah, that's not supported with flakes.
17:57:09
@jez:petrichor.meJez (he/him) What's the programs.sqlite thing? 19:13:10
@andi:kack.itandi- It is for the programs-not-found handler that tells you which package(s) a binary might be in that isn't in your PATH. 19:21:09
@tomberek:matrix.orgtomberek ls /nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite -alh 19:22:25
@jez:petrichor.meJez (he/him) Ah! I assumed it was an attribute set from configuration.nix 🙃 19:28:06
@jez:petrichor.meJez (he/him) programs.sqlite.enable = true; 😉 19:28:28
@jez:petrichor.meJez (he/him) Anyway, I use a flake to manage my system config, and home-manager within that, and the home manager option programs.command-not-found.enable = true; seems to work for me 19:29:56
@jez:petrichor.meJez (he/him)But I've not tried it without hm19:30:11
@elonsroadster:matrix.orgelonsroadsterIs there a standard way to allow users of a flake devShell to add further customizations to that shell?22:16:36
@elonsroadster:matrix.orgelonsroadsterI suppose that an import extension that happens if some file in the directory exists might work, but the annoying thing is that the file would need to be git added at minimum to be included.22:17:43
12 Aug 2021
@balsoft:balsoft.rubalsoft
In reply to @jez:petrichor.me
Anyway, I use a flake to manage my system config, and home-manager within that, and the home manager option programs.command-not-found.enable = true; seems to work for me
It works only if you have the channel. I don't.
00:08:53
@balsoft:balsoft.rubalsoft
In reply to @niksnut:matrix.org
Yeah, that's not supported with flakes.
Ok, thanks.
00:09:10
@elonsroadster:matrix.orgelonsroadster
In reply to @elonsroadster:matrix.org
Is there a standard way to allow users of a flake devShell to add further customizations to that shell?
No one has any ideas for this?
02:38:06
@tomberek:matrix.orgtomberek elonsroadster: you are probably looking for "shellHook" 03:36:10
@elonsroadster:matrix.orgelonsroadster tomberek: I don't think so. I want to be able to modify the nix expression provided by a flake as the devShell. For example, I want to be able to add additional developer tools to the nix shell that shouldn't necessarily be added to the nix shell for everybody. My particular use case is that I want to add a language server implementation that is using the same compiler versions etc. as what is in the nix shell as part of the nix shell. 03:42:09
@elonsroadster:matrix.orgelonsroadsterMy understanding of shellHook is that its a parameter that allows the execution of additional shell commands and stuff, not a way to add or modify the derivation that actually generates the shell03:42:55
@mewp:nurupo.plmewpwouldn't makeOverridable work here?05:07:09
@jez:petrichor.meJez (he/him)
In reply to @balsoft:balsoft.ru
It works only if you have the channel. I don't.
Oh, I see what you mean!
06:50:46
@elonsroadster:matrix.orgelonsroadster
In reply to @mewp:nurupo.pl
wouldn't makeOverridable work here?
im not super familiar with that
06:57:59

Show newer messages


Back to Room ListRoom Version: 6