Sender | Message | Time |
---|---|---|
10 Aug 2021 | ||
* or you could just define the container as a profile itself and just put your system config for it after my-cool-container.config = | 23:49:00 | |
11 Aug 2021 | ||
You can also use this pattern to creat your own 'variant': https://github.com/divnix/digga/blob/main/modules/bootstrap-iso.nix | 14:24:56 | |
* princemachiavelli: You can also use this pattern to creat your own 'variant': https://github.com/divnix/digga/blob/main/modules/bootstrap-iso.nix | 14:25:08 | |
or best check if this already fits your needs: https://github.com/nix-community/nixos-generators/blob/master/formats/lxc.nix | 14:26:04 | |
(all nixos-generators come included: bud build HOST lxc ) | 14:26:41 | |
And if that doesn't work, I think the maintainer will be very happy about any contribution there. | 14:27:46 | |
12 Aug 2021 | ||
Small little though, but does anyone thing that programs.bcc.enable might be good for the core profile? I'm starting to dive into these tracing tools after ignoring them for some years now, and I have to say, they are quite impressive | 17:54:44 | |
* Small little thought, but does anyone thing that programs.bcc.enable might be good for the core profile? I'm starting to dive into these tracing tools after ignoring them for some years now, and I have to say, they are quite impressive | 17:54:50 | |
* Small little thought, but does anyone think that programs.bcc.enable might be good for the core profile? I'm starting to dive into these tracing tools after ignoring them for some years now, and I have to say, they are quite impressive | 17:54:56 | |
I'm working on a DevOS-inspired setup with flakes + home-manager on Arch Linux. I'm using aconfmgr as a neat escape-hatch to manage config and packages in a fairly declarative manner. I'm having some issues as I'm trying to switch from bash to zsh though. When i do
I suspect the issue is that nixpkgs is providing one version of zsh while home-manager is providing another, but I don't see how that's possible or how to fix it. Here's my flake.lock file: https://github.com/d4hines/beth/blob/master/flake.lock Any ideas? | 17:57:06 | |
so the actual conflicting file is just the completion | 17:58:44 | |
I don't think the first version of nix contains my PR to fix zsh completions. Maybe you could try bumping to a more recent version of nixpkgs to get it? | 18:00:00 | |
* I don't think the version of nix shown contains my PR to fix zsh completions. Maybe you could try bumping to a more recent version of nixpkgs to get it? | 18:00:15 | |
In reply to @timdeh:matrix.orgYea it would be nice. I just used a few of the tools a few days ago and some seem to be broken. The ones that use dtrace make sense since a lot of packages are not compiled with support. But I think there are quite a few that just need the right python packages available. | 18:01:12 | |
David Arnold (blaggacao): if you have time, might d4hines issue have something to do with the useGlobalPkgs or whatever it's called in home-manager? I believe you were the last person to make changes here, yes? | 18:03:07 | |
In reply to @princemachiavelli:matrix.orgmaybe I'll have to spend some time tracking down those packages then, and submitting a PR to include them by default when the module is enabled | 18:03:44 | |
In reply to @timdeh:matrix.orgSo I ran nix flake update , and it updated nixpkgs to the latest version https://github.com/NixOS/nixpkgs/commit/c87557a817a6bfbb0906de005c259c846c38f312; however I still get the same error | 18:09:10 | |
okay, so home-manager might do something of it's own to enable completions. Now that I think about it, my fix wouldn't matter in this context since it's a nixos module. Maybe a similar fix needs to be made in the home-manager module upstream | 18:10:36 | |
There was a similar conflict in the NixOS module, because nix started shipping it's own zsh completion script, which conflicting with the one enabled by the module when including the nix-zsh-completions package | 18:11:04 | |
I'll take a brief look at the hm module upstream and see if that's the case | 18:11:16 | |
Indeed, zsh.enableAutocompletion = false fixed the build. | 18:16:39 | |
d4hines: you seem to have a nixos less hm config at hand, which has to be distinguished from the nixos-embedded one. For embedded ones, we do this for nixos-less we do this | 18:17:00 | |
But the only bit that's probably useful is the naming and system spacing of portable homi | 18:17:38 | |
* But the only bit that's probably useful is the naming and system spacing of portable home configs | 18:17:45 | |
yeah it just pulls in nix-zsh-completions like the nixos module did | 18:17:45 | |
I did some trickery to just remove _nix from nix-zsh-completions so completions for the stable nix-* commands would still work | 18:18:26 | |
* But the only bit that's probably useful is the naming and system spacing of portable home configs ( self.homeConfigurationsPortable.<arch>.<profile> ) | 18:18:42 | |
You could make a simple overlay for nix-zsh-completions that replicates what I did and then renable completions if you want | 18:18:48 | |
I think I'll take a moment and just submit a PR to fix this in the same was as I did with the nixos module as well | 18:19:05 | |
In reply to @timdeh:matrix.orgWould I include the overlay in the flake overlays or in the home-manager property nix.overlays ? | 18:20:12 |