!UUqahLbShAYkkrXmKs:matrix.org

DevOS

39 Members
Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga10 Servers

Load older messages


SenderMessageTime
22 Aug 2021
@6aa4fd:tchncs.de6aa4fd
In reply to @timdeh:matrix.org
yeah that was essentially the motivation for the project in the first place. I noticed a lot of patterns were getting redesigned over and over so tried to see if maybe we could get some consensus going.
did you guys end up doing anything about repo mixing? that is a repeating pattern i have seen a ton of
00:01:31
@timdeh:matrix.org@timdeh:matrix.orgperhaps, what do you mean by repo mixing exactly though 😅00:03:25
@6aa4fd:tchncs.de6aa4fdmainly using unstable packages in your configuratino00:04:29
@6aa4fd:tchncs.de6aa4fdlike at a basic level00:04:47
@timdeh:matrix.org@timdeh:matrix.orgoh yeah that is a thing00:04:55
@6aa4fd:tchncs.de6aa4fdyou guys have a good way of dealing with it?00:05:09
@timdeh:matrix.org@timdeh:matrix.orgThis overlay essentially get's imported from an alternate nixpkgs: https://github.com/divnix/devos/blob/main/overlays/overrides.nix00:05:47
@timdeh:matrix.org@timdeh:matrix.orgI was wondering if we should expand this at some point to allow for more than a single override source00:06:06
@6aa4fd:tchncs.de6aa4fd
pkgs-unstable = import inputs.nixpkgs-unstable {
    system = config.nixpkgs.system;
    config = { allowUnfree = true; };
  };
00:08:15
@6aa4fd:tchncs.de6aa4fdthis is what i use, i use a let statement, then i can just add stuff from here directly00:08:28
@6aa4fd:tchncs.de6aa4fdwhich i like because then i don't have to figure out how my package set is "polluted" when i am just quickly upgrading my version of a program00:09:12
@timdeh:matrix.org@timdeh:matrix.orgThat's kinda what's going on under the hood, the overlay is just the input for the import essentially00:18:42
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @timdeh:matrix.org
I was wondering if we should expand this at some point to allow for more than a single override source
That's already possible. You can override from any "channel" 😁
01:13:08
@timdeh:matrix.org@timdeh:matrix.orgperfect, yeah my perspective on the project is quite stale by now unfortunately 😅03:10:53
@timdeh:matrix.org@timdeh:matrix.orgmaybe I should run through the current features and update the docs 😄03:12:05
@yusdacra:nixos.devyusdacra changed their profile picture.15:49:09
23 Aug 2021
@yusdacra:nixos.devyusdacra

I was running someone through devos starting docs, this command in start's index.md seems to not work, and errors with "not a git repository":

nix-shell https://github.com/divnix/devos/archive/core.tar.gz -A shell \
  --run "flk get core"

this also doesnt work, says flk is not found:

nix-shell https://github.com/divnix/devos/archive/main.tar.gz -A shell \
  --run "flk get main"
00:02:04
@blaggacao:matrix.orgDavid Arnold (blaggacao) bud get might work... frommain branch 03:20:29
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orghttps://github.com/divnix/bud/blob/main/flake.nix#L403:22:10
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgWhat's up with these?03:22:18
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgNever seen it being documented anywhere03:22:29
@blaggacao:matrix.orgDavid Arnold (blaggacao) It's not, but it works in recent nix... It's dumb,but self-documenting. 03:23:16
@blaggacao:matrix.orgDavid Arnold (blaggacao)(without flakes enabled, one would have a hard time getting thus far)03:23:55
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgWhat's not self documenting is substitutes scope - it is probably global?03:24:15
@tomberek:matrix.orgtomberekhttps://github.com/NixOS/nix/blob/master/src/libexpr/flake/config.cc#L3203:24:22
@tomberek:matrix.orgtombereki don't think it will have any effect03:24:56
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgAlso maybe fup should set experimental features like that instead via module?03:25:12
@blaggacao:matrix.orgDavid Arnold (blaggacao)whitlist refers to "trusted" (no dialogue)03:26:08
@tomberek:matrix.orgtomberek or rather, it gets added to ~/.local/share/nix/trusted-settings.json 03:26:23
@blaggacao:matrix.orgDavid Arnold (blaggacao)https://github.com/NixOS/nix/blob/7a54b10a8a29dadea2bb2c639a15cfec25a4d38c/src/libexpr/flake/config.cc#L51-L5403:26:28

Show newer messages


Back to Room ListRoom Version: 6