The OS becomes too bloated, and you need to reinstall? Listen, listen, what if we do reinstall on every package install, then no bloat can survive - #NixOS
The OS becomes too bloated, and you need to reinstall? Listen, listen, what if we do reinstall on every package install, then no bloat can survive - #NixOS
@alberand what if we also do it everyone I want to change my background? 🤔
When you start your VM build and walk away for lunch...
and come back to 30 packages left ... of 1350, including the kernel, qemu,...
@musicmatze did that once, came back to an internal compiler segfault. That was a fun day. 😅
loongarch64 native stdenv is here! #NixOS #Nixpkgs
https://github.com/NixOS/nixpkgs/pull/399167
Nice, lib.packagesFromDirectoryRecursive
now supports nested scopes!
packagesFromDirectoryRecursive
transforms a directory tree of packages into a nested attribute set of derivations. You can use it to manage a package set in a similar way to by-name in nixpkgs (without the sharding part). The package files in tree must be suitable for callPackage
.
Subdirectories in the tree result in nested attribute sets. In the following example, packages d
, e
and f
will be in a nested attribute set called my-namespace
.
my-packages
├── a.nix
├── b.nix
├── c
│ ├── my-extra-feature.patch
│ ├── package.nix
│ └── support-definitions.nix
└── my-namespace
├── d.nix
├── e.nix
└── f
└── package.nix
Previously, this would only use one scope (my-packages
), so e
could only depend on d
as my-packages.d
. With the introduction of nested scopes, e
can refer to d
within the same scope directly.
PR: https://github.com/NixOS/nixpkgs/pull/392800
function doc on noogle (which isn't yet updated for the new behavior): https://noogle.dev/f/lib/packagesFromDirectoryRecursive
@codemonkeymike it’ll be on Saturday from 17:00-18:00. https://www.socallinuxexpo.org/scale/22x/presentations/using-nix-build-pretty-small-images
Alright fedi, just got back from the Nix Store, ended up buying /etc/nixos#nixosConfigurations.Infini-FRAMEWORK.config.system.build.toplevel
@schmittlauch there’s more where that came from! I recently found this one. https://github.com/NixOS/nixpkgs/blob/6a3ae7a5a12fb8cac2d59d7df7cbd95f9b2f0566/lib/strings.nix#L2406-L2436
First time I managed to configure a WPA2 Enterprise network (Eduroam) for IWD 😂 Added my learning to the #NixOS wiki https://wiki.nixos.org/wiki/Iwd#Eduroam_(WPA2_Enterprise)_network
Hi everyone, I am now looking for full-time work! If you have a remote Software Engineer position available and work with #Frontend web tech (#HTML / #CSS / #JS / #TS / #React, etc), #NodeJS (or #Bun / #Deno ), #Kubernetes, or #Nix / #NixOS then please reach out! I love building tools to solve problems and delight users.
For examples of my previous work, links to my projects, and my resume, please see my website: https://jakehamilton.dev
Boosts very much appreciated!
@johanv so, eating all the food and not gaining any of the weight or developing cholesterol? Sign me up!
The Nix/NixOS devroom at @fosdem was accepted, and the CfP is open! I'm really amazed to be part of the organization team this year.
Talks can be submitted until 2024-11-30.
https://discourse.nixos.org/t/nix-and-nixos-devroom-fosdem-2025/54963
… next try to configure #NixOS an the #Clockworkpi #uConsole - I am confident. How do I connect to the WLAN again (with iw and wireless tools)? 😅
I've gone live!
Coworking time. Watch me do some work
#owncast #streaming #coworking #devops #linux #nixos #ruby #learning #deutsch #english