!dGrjXvKnCwVLevgmzo:matrix.org

Stockholm NixOS meetup group

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

You have reached the beginning of time (for this room).


SenderMessageTime
24 Apr 2024
@pradipcaulagi:matrix.orgPradip Caulagiima_fe2b90f.jpeg
Download ima_fe2b90f.jpeg
19:07:23
@pradipcaulagi:matrix.orgPradip CaulagiDownload video_29412e3.mp419:07:37
@pradipcaulagi:matrix.orgPradip CaulagiIt was a lot of fun today! Thanks!19:07:37
@claesatwork:matrix.orgClaes Thank you for hosting Pradip Caulagi! 19:31:34
@claesatwork:matrix.orgClaes
In reply to @lillecarl:matrix.org
Claes: https://github.com/pufferffish/wireproxy
This is what I used https://github.com/dadevel/wg-netns
19:32:56
25 Apr 2024
@maedas:matrix.orgmaedas

Thanks for yesterday! I wanted to share my template for making modules (WIP), feedback and tips for improvements are appericiated!


let
  name = baseNameOf ./.;
  cfg = lib.getAttr name config.namespace;
in lib.setAttr
  {
    imports = [
    ];

    config = {
    };
  }
  "options" (lib.setAttr {} "namespace" (lib.setAttr {} name (with lib; {
    enable = mkEnableOption (name + " module");
  })))```
10:29:59
@maedas:matrix.orgmaedas *

Thanks for yesterday! I wanted to share my template for making modules (WIP), feedback and tips for improvements are appericiated!

let
  name = baseNameOf ./.;
  cfg = lib.getAttr name config.namespace;
in lib.setAttr
  {
    imports = [
    ];

    config = {
    };
  }
  "options" (lib.setAttr {} "namespace" (lib.setAttr {} name (with lib; {
    enable = mkEnableOption (name + " module");
  })))```
10:30:46
@maedas:matrix.orgmaedas *

Thanks for yesterday! I wanted to share my template for making modules (WIP), feedback and tips for improvements are appericiated!


let
  name = baseNameOf ./.;
  cfg = lib.getAttr name config.namespace;
in lib.setAttr
  {
    imports = [
    ];

    config = {
    };
  }
  "options" (lib.setAttr {} "namespace" (lib.setAttr {} name (with lib; {
    enable = mkEnableOption (name + " module");
  })))
10:31:27
@maedas:matrix.orgmaedas *

Thanks for yesterday! I wanted to share my template for making modules (WIP), feedback and tips for improvements are appericiated!

{ config, lib, pkgs, ... }:

let
  name = baseNameOf ./.;
  cfg = lib.getAttr name config.namespace;
in lib.setAttr
  {
    imports = [
    ];

    config = {
    };
  }
  "options" (lib.setAttr {} "namespace" (lib.setAttr {} name (with lib; {
    enable = mkEnableOption (name + " module");
  })))
```
10:31:50
@maedas:matrix.orgmaedas *

Thanks for yesterday! I wanted to share my template for making modules (WIP), feedback and tips for improvements are appericiated!

{ config, lib, pkgs, ... }:

let
  name = baseNameOf ./.;
  cfg = lib.getAttr name config.namespace;
in lib.setAttr
  {
    imports = [
    ];

    config = {
    };
  }
  "options" (lib.setAttr {} "namespace" (lib.setAttr {} name (with lib; {
    enable = mkEnableOption (name + " module");
  })))
10:32:09
@lillecarl:matrix.orglillecarlIt looks incomplete, no args decl and stuff. Post on gist, and open your Nix repo! 11:23:28
@lillecarl:matrix.orglillecarlYeah as always it was a pleasure to meet, and thanks playgrounders for hosting. Definitely an uplift in atmosphere although the participation was a bit lower. https://github.com/lillecarl/nixos here's my Nix mess if anyone is curious! 11:28:48
@maedas:matrix.orgmaedas
In reply to @lillecarl:matrix.org
Yeah as always it was a pleasure to meet, and thanks playgrounders for hosting. Definitely an uplift in atmosphere although the participation was a bit lower.

https://github.com/lillecarl/nixos here's my Nix mess if anyone is curious!
thanks, I was actually looking for it!
11:47:10
@maedas:matrix.orgmaedas LilleCarl (Salsa9): not sure what you mean, it's literally supposed to be a template base to add stuff like that 11:50:57
@lillecarl:matrix.orglillecarlI was looking on my phone, element cut out part of the text11:51:14
@lillecarl:matrix.orglillecarlWhat's the purpose of the setattr and getattr for namespace? Looks a bit overcomplicated for my eyes11:54:36
@lillecarl:matrix.orglillecarl

I've got some questions for everyone:

  • What's your biggest painpoints using NixOS &/ home-manager today?
  • Updating packages I've packaged myself (Which update solution are you guys using? :) )

Mine's still packaging things that doesn't quite fit the "norm". (https://github.com/dawsers/hyprscroller comes to mind right now).

12:09:57

Show newer messages


Back to Room ListRoom Version: 10