!dGrjXvKnCwVLevgmzo:matrix.org

Stockholm NixOS meetup group

50 Members
Monthly meetups in Stockholm, Sweden around Nix releated topics(nixos.org)14 Servers

Load older messages


SenderMessageTime
1 Feb 2024
@claesatwork:matrix.orgClaesYes great to meet everyone! Attendance was above all expectations!07:02:00
@markuskowa:matrix.orgmarkuskowaThanks to everyone! Yesterday was absolutely great. 09:27:57
@igorramazanov:matrix.orgigorramazanov joined the room.10:09:05
@igorramazanov:matrix.orgigorramazanov set a profile picture.10:10:05
@igorramazanov:matrix.orgigorramazanovYeah :) (hi all 👋)10:12:40
2 Feb 2024
@lillecarl:matrix.orglillecarl
{ lib
, ...
}:
# $FLAKE should be configured to where your repository is located
# Preferably using direnv, you can also set it into your sessionVariables
let
  dot_path = "${builtins.getEnv("FLAKE")}/sub/dir/";
  dot_paths = lib.filesystem.listFilesRecursive dot_path;
  dot_strings = builtins.map (x: builtins.toString x) dot_paths;
  dot_prefixDeleted = builtins.map (x: builtins.replaceStrings [ dot_path ] [ "" ] x) dot_strings;
  dotfile_outOfStoreLinked = lib.attrsets.genAttrs dot_prefixDeleted (name: {
    source = config.lib.file.mkOutOfStoreSymlink (dot_path + name);
  });
in
{
  home.file = dotfile_outOfStoreLinked;
}

I know I mentioned linking things from $FLAKE repo into $HOME which I'm quite happy with. This is the implementation I'm using. It'll replicate a tree subdir into $HOME for you, nothing using home.file.x.recursive so you won't get collisions with folders and stuff 😄

20:18:15
3 Feb 2024
@claesatwork:matrix.orgClaesI didn't know you could do that! 22:36:07
6 Feb 2024
@igorramazanov:matrix.orgigorramazanovWould be nice to have an additional option: "does not really matter" and also allow multichoice19:51:29
7 Feb 2024
@markuskowa:matrix.orgmarkuskowa
In reply to @igorramazanov:matrix.org
Would be nice to have an additional option: "does not really matter" and also allow multichoice
Will do it in the next iteration. I'm still exploring the options that matrix provides.
17:48:01
12 Feb 2024
@markuskowa:matrix.orgmarkuskowaIt looks like there is a slight preference for Wednesday. Should we go with Wednesday the 21st?09:58:19
13 Feb 2024
@markuskowa:matrix.orgmarkuskowaOk, let's have the next meetup, on Wednesday 21.02. Same place, same time (19:00 at the Nordic light hotel).21:02:15
21 Feb 2024
@markuskowa:matrix.orgmarkuskowaSee you tonight. 09:47:33
@claesatwork:matrix.orgClaesHi, I told some of you about my home audio setup. I created a gist with most of it here https://gist.github.com/claes/61d0579df00a205385b5bd3ed235132c21:52:31
22 Feb 2024
@kraem:ne.bul.aekraem
In reply to @lillecarl:matrix.org
{ lib
, ...
}:
# $FLAKE should be configured to where your repository is located
# Preferably using direnv, you can also set it into your sessionVariables
let
  dot_path = "${builtins.getEnv("FLAKE")}/sub/dir/";
  dot_paths = lib.filesystem.listFilesRecursive dot_path;
  dot_strings = builtins.map (x: builtins.toString x) dot_paths;
  dot_prefixDeleted = builtins.map (x: builtins.replaceStrings [ dot_path ] [ "" ] x) dot_strings;
  dotfile_outOfStoreLinked = lib.attrsets.genAttrs dot_prefixDeleted (name: {
    source = config.lib.file.mkOutOfStoreSymlink (dot_path + name);
  });
in
{
  home.file = dotfile_outOfStoreLinked;
}

I know I mentioned linking things from $FLAKE repo into $HOME which I'm quite happy with. This is the implementation I'm using. It'll replicate a tree subdir into $HOME for you, nothing using home.file.x.recursive so you won't get collisions with folders and stuff 😄

ah this was what you were talking about yesterday! i'm gonna try to roll with some variant of this for a while. long time ago any of my systems were impure hehe
19:05:22
@kraem:ne.bul.aekraem LilleCarl (Salsa9): also did you mean https://github.com/PRQL/prql ? in that case we thought about the same project 19:06:26
@lillecarl:matrix.orglillecarl
In reply to @kraem:ne.bul.ae
ah this was what you were talking about yesterday! i'm gonna try to roll with some variant of this for a while. long time ago any of my systems were impure hehe
Yeah there's the fileset lib I didn't even know about until i saw "umport" that recursively imports modules 😄 So it can be "nicer"
19:07:49
@lillecarl:matrix.orglillecarl
In reply to @kraem:ne.bul.ae
LilleCarl (Salsa9): also did you mean https://github.com/PRQL/prql ? in that case we thought about the same project
Yeap, along with for running prql within pg https://github.com/kaspermarstal/plprql
19:09:19
@lillecarl:matrix.orglillecarlIt's early work, but it's nice to see either way. SQL has had it's best days19:10:06
@kraem:ne.bul.aekraemyeah i saw that, nice! last time i checked prql i think they were still talking about implementing the postgres layer19:10:12
@kraem:ne.bul.aekraemthis (https://github.com/neondatabase/neon) is pretty interesting as well, although not the same thing at all. it basically swaps out the storage layer of postgres, making it distributed and the backing storage is s3 :)19:24:28
26 Feb 2024
@markuskowa:matrix.orgmarkuskowa

Wednesday seems to be a weekday that works, based on the last two meetups. How does Wednesday, March 27th work?

igorramazanov Do you know how to open a multiple-choice poll? In Element, it appears, I can only open single-choice polls.

18:09:44
@igorramazanov:matrix.orgigorramazanov
In reply to @markuskowa:matrix.org

Wednesday seems to be a weekday that works, based on the last two meetups. How does Wednesday, March 27th work?

igorramazanov Do you know how to open a multiple-choice poll? In Element, it appears, I can only open single-choice polls.

Let me check. Otherwise, we could, run an online poll, perhaps
18:11:01
@igorramazanov:matrix.orgigorramazanovThe Matrix spec MSC3381 allow multichoice: https://github.com/matrix-org/matrix-spec-proposals/pull/3381/commits/211f5918189f4cf8ab7eb90250a3ba57c8212ae418:17:44
@igorramazanov:matrix.orgigorramazanov* The Matrix spec MSC3381 allows multichoice: https://github.com/matrix-org/matrix-spec-proposals/pull/3381/commits/211f5918189f4cf8ab7eb90250a3ba57c8212ae418:17:53
@igorramazanov:matrix.orgigorramazanov But it's not implement for Element :) 18:27:29
@igorramazanov:matrix.orgigorramazanovIt's possible to create a multichoice poll in Discourse, done: https://discourse.nixos.org/t/nix-meetup-in-stockholm-sweden/32867/5018:42:55
@igorramazanov:matrix.orgigorramazanov markuskowa: 18:43:04
@alxplus:matrix.orgalxplus joined the room.19:05:25
@alxplus:matrix.orgalxplus👋19:12:25
@lillecarl:matrix.orglillecarlNice, good one! 😄19:14:59

Show newer messages


Back to Room ListRoom Version: 10