!dGrjXvKnCwVLevgmzo:matrix.org

Stockholm NixOS meetup group

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

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


SenderMessageTime
16 Dec 2024
@lillecarl:matrix.orglillecarlHetzner Cloud VM's local storage is NVMe attached locally. That's 2nd RAM right?! 😆20:13:29
@lillecarl:matrix.orglillecarlA small but convenient thing in both HM and NixOS module systems:20:18:12
@lillecarl:matrix.orglillecarl *

A small but convenient thing in both HM and NixOS module systems:
You can assign a package you're building like lib.mypkgs.pkg = pkgs.pkg.overrideAttrs()
Then you can reference it under
config.lib.mypkgs.pkg in the module system, or if you wanna nix build

nixosConfigurations.myhost.config.lib.mypkgs.pkg
homeConfigurations.myuser.config.lib.mypkgs.pkg

If you wanna be quick and dirty and can't be bothered to make options and don't need/want to overlay the package in nixpkgs.

20:20:46
@markuskowa:matrix.orgmarkuskowa

Alternative: use an overlay and use your on sub attribute set:

self: super: { mypkgs.pkg = pkgs.pkg.override {}; }
21:17:23
17 Dec 2024
@igorramazanov:matrix.orgigorramazanovOk, I'll post about the office in the Discourse, hopefully we won't have an issue that we'll have 2 split groups in different places.10:10:02
@igorramazanov:matrix.orgigorramazanovI've posted in the Discourse as well: https://discourse.nixos.org/t/nix-meetup-in-stockholm-sweden/32867/63?u=igorramazanov13:06:43

Show newer messages


Back to Room ListRoom Version: 10