!OHimLTKAXNbFrEoogf:matrix.org

Nix Milan

108 Members
https://milano.nix.pizza/7 Servers

Load older messages


SenderMessageTime
3 Dec 2025
@telegram_98204228:t2bot.ioAlessandro 🤔➖☀️🖌Come vecchio utente gentoo, posso capirli 😂13:40:15
@telegram_7189191315:t2bot.iogecko
In reply to Alessandro 🤔➖☀️🖌
Mentre leggevo questo https://wiki.nixos.org/wiki/Build_flags ho pensato: ma non esiste una cache per dei pacchetti compilati per qualche cpu più recente? Non sarebbe male poter aggiungere un subst per la propria architettura e usare quello come cache crowd-sourced.
https://www.shlomifish.org/humour/by-others/funroll-loops/Gentoo-is-Rice.html
13:18:57
@telegram_32436951:t2bot.ioDavid
In reply to Alessandro 🤔➖☀️🖌
Mentre leggevo questo https://wiki.nixos.org/wiki/Build_flags ho pensato: ma non esiste una cache per dei pacchetti compilati per qualche cpu più recente? Non sarebbe male poter aggiungere un subst per la propria architettura e usare quello come cache crowd-sourced.
immagino che qualcuno che ha la cache dei suoi sistemi su cachix ci sia, prova a chiedere su matrix e discord magari
13:30:34
5 Dec 2025
@telegram_202812884:t2bot.ioSergio Besanaciao, ho fatto qualche 🌵ta, quando faccio il rebuild ho questo errore:16:47:56
@telegram_202812884:t2bot.ioSergio Besanaqualcuno mi può aiutare? 😅16:48:33
@telegram_202812884:t2bot.ioSergio Besanaerror: … while calling the 'head' builtin at /nix/store/hbwhmq5csqsjf52ciz7cbjpvy042laqw-nixos/nixos/lib/attrsets.nix:1696:13: 1695| if length values == 1 || pred here (elemAt values 1) (head values) then 1696| head values | ^ 1697| else … while evaluating the attribute 'value' at /nix/store/hbwhmq5csqsjf52ciz7cbjpvy042laqw-nixos/nixos/lib/modules.nix:1118:7: 1117| // { 1118| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1119| inherit (res.defsFinal') highestPrio; … while evaluating the option `system.build.toplevel': … while evaluating definitions from `/nix/store/hbwhmq5csqsjf52ciz7cbjpvy042laqw-nixos/nixos/nixos/modules/system/activation/top-level.nix': … while evaluating the option `system.systemBuilderArgs': … while evaluating definitions from `/nix/store/hbwhmq5csqsjf52ciz7cbjpvy042laqw-nixos/nixos/nixos/modules/system/activation/activatable-system.nix': … while evaluating the option `system.activationScripts.etc.text': … while evaluating definitions from `/nix/store/hbwhmq5csqsjf52ciz7cbjpvy042laqw-nixos/nixos/nixos/modules/system/etc/etc-activation.nix': … while evaluating definitions from `/nix/store/hbwhmq5csqsjf52ciz7cbjpvy042laqw-nixos/nixos/nixos/modules/system/etc/etc.nix': … while evaluating the option `environment.etc.dbus-1.source': … while evaluating the option `environment.systemPackages': … while evaluating definitions from `/etc/nixos/configuration.nix': (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: libsForQt5.bluez-qt has been removed, as KDE Frameworks 5 has reached end of life. Command 'nix-build '<nixpkgs/nixos>' --attr config.system.build.toplevel --no-out-link' returned non-zero exit status 1.16:48:09
@telegram_32436951:t2bot.ioDavid https://search.nixos.org/packages?channel=25.11&query=bluez-qt 16:51:09
@telegram_32436951:t2bot.ioDavid
error: libsForQt5.bluez-qt has been removed, as KDE Frameworks 5 has reached end of life.
kdePackages.bluez-qt
16:51:02
@telegram_202812884:t2bot.ioSergio Besanami chiede di cancellare altri programmi16:57:10
@telegram_202812884:t2bot.ioSergio Besana … while calling the 'head' builtin
at /nix/store/hbwhmq5csqsjf52ciz7cbjpvy042laqw-nixos/nixos/lib/attrsets.nix:1696:13:
1695| if length values == 1 || pred here (elemAt values 1) (head values) then
1696| head values
| ^
1697| else

… while evaluating the attribute 'value'
at /nix/store/hbwhmq5csqsjf52ciz7cbjpvy042laqw-nixos/nixos/lib/modules.nix:1118:7:
1117| // {
1118| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
1119| inherit (res.defsFinal') highestPrio;

… while evaluating the option `system.build.toplevel':

… while evaluating definitions from `/nix/store/hbwhmq5csqsjf52ciz7cbjpvy042laqw-nixos/nixos/nixos/modules/system/activation/top-level.nix':

… while evaluating the option `system.systemBuilderArgs':

… while evaluating definitions from `/nix/store/hbwhmq5csqsjf52ciz7cbjpvy042laqw-nixos/nixos/nixos/modules/system/activation/activatable-system.nix':

… while evaluating the option `system.activationScripts.etc.text':

… while evaluating definitions from `/nix/store/hbwhmq5csqsjf52ciz7cbjpvy042laqw-nixos/nixos/nixos/modules/system/etc/etc-activation.nix':

… while evaluating definitions from `/nix/store/hbwhmq5csqsjf52ciz7cbjpvy042laqw-nixos/nixos/nixos/modules/system/etc/etc.nix':

… while evaluating the option `environment.etc.dbus-1.source':

(stack trace truncated; use '--show-trace' to show the full, detailed trace)

error: Package ‘qtwebengine-5.15.19’ in /nix/store/hbwhmq5csqsjf52ciz7cbjpvy042laqw-nixos/nixos/pkgs/development/libraries/qt-5/modules/qtwebengine.nix:442 is marked as insecure, refusing to evaluate.


Known issues:
- qt5 qtwebengine is unmaintained upstream since april 2025.
It is based on chromium 87.0.4280.144, and supposedly patched up to 135.0.7049.95 which is outdated.

Security issues are frequently discovered in chromium.
The following list of CVEs was fixed in the life cycle of chromium 138 and likely also affects qtwebengine:
- CVE-2025-8879
- CVE-2025-8880
- CVE-2025-8901
- CVE-2025-8881
- CVE-2025-8882
- CVE-2025-8576
- CVE-2025-8577
- CVE-2025-8578
- CVE-2025-8579
- CVE-2025-8580
- CVE-2025-8581
- CVE-2025-8582
- CVE-2025-8583
- CVE-2025-8292
- CVE-2025-8010
- CVE-2025-8011
- CVE-2025-7656
- CVE-2025-6558 (known to be exploited in the wild)
- CVE-2025-7657
- CVE-2025-6554
- CVE-2025-6555
- CVE-2025-6556
- CVE-2025-6557

The actual list of CVEs affecting qtwebengine is likely much longer,
as this list is missing issues fixed in chromium 136/137 and even more
issues are continuously discovered and lack upstream fixes in qtwebengine.


You can install it anyway by allowing this package, using the
following methods:

a) To temporarily allow all insecure packages, you can use an environment
variable for a single invocation of the nix tools:

$ export NIXPKGS_ALLOW_INSECURE=1

Note: When using `nix shell`, nix build, nix develop, etc with a flake,
then pass --impure in order to allow use of environment variables.

b) for nixos-rebuild you can add ‘qtwebengine-5.15.19’ to
nixpkgs.config.permittedInsecurePackages in the configuration.nix,
like so:

{
nixpkgs.config.permittedInsecurePackages = [
"qtwebengine-5.15.19"
];
}

c) For nix-env, nix-build, nix-shell or any other Nix command you can add
‘qtwebengine-5.15.19’ to permittedInsecurePackages in
~/.config/nixpkgs/config.nix, like so:
17:01:17
@telegram_202812884:t2bot.ioSergio Besana{ permittedInsecurePackages = [ "qtwebengine-5.15.19" ]; } Command 'nix-build '<nixpkgs/nixos>' --attr config.system.build.toplevel --no-out-link' returned non-zero exit status 1.17:01:17
@telegram_202812884:t2bot.ioSergio Besanaalla fine ho scelto: $ export NIXPKGS_ALLOW_INSECURE=1 e tutto è andato a posto, anche oggi ho imparato qualcosa 😂😂😂17:28:19
7 Dec 2025
@telegram_28186152:t2bot.ioLucio Qualcuno per caso usa https://git.m-labs.hk/m-labs/wfvm?
Ho avuto finalmente tempo di studiarmi il progetto ed è proprio ciò che cercavo (Windows VM dichiarative con installazioni unattended personalizzabili).

Tuttavia gli inputs di nixkpks del progetto sono fermi alla versione 23.05. Per farlo funzionare ho messo un follows.
Il problema è che nel buildare un'immagine di Windows molto molto semplice mi si pianta, nel senso che dopo 5-6 ore è ancora lì a buildare.

Senza scendere nei dettagli tecnici, magari c'è qualcuno che ha un fork o un flake già funzionante? Vorrei evitarmi ore di debug (sono pigro 😬) ...
12:51:00
@telegram_98204228:t2bot.ioAlessandro 🤔➖☀️🖌 Ah ne avevo sentito parlare (forse da @andreaciceri ?) ma non l'avevo mai provato... Ne avrei bisogno per una roba, ma senza urgenza, quindi mi sa che non riuscirò a darti un feedback a breve 😅 17:59:12
@telegram_28186152:t2bot.ioLucioSi, me l'aveva consigliato Andrea. Cmq io sto provando a farlo funzionare, se ho novità aggiorno qui 😁21:10:43
8 Dec 2025
@telegram_73824637:t2bot.ioAndrea Ciceri Questo ha Windows 11 sembrerebbe: https://github.com/RyzeNGrind/wfvm 09:19:03
@telegram_73824637:t2bot.ioAndrea Ciceri Su GitHub vedo che ci sono dei fork piu' aggiornati: https://github.com/search?q=wfvm&type=repositories 09:17:59
@telegram_73824637:t2bot.ioAndrea CiceriL'ho consigliato senza averlo mai provato pero'! Purtroppo (o per fortuna?) non ne ho mai avuto bisogno ma sono molto curioso di sapere come e'09:15:55
@telegram_7189191315:t2bot.iogecko Conoscete Zilch? https://puck.moe/zilch/docs/
Han chiesto ad un mio amico di farci review di sicurezza
09:26:45
@telegram_73824637:t2bot.ioAndrea Ciceriahhh, ora cerco il grant11:22:34
@telegram_7189191315:t2bot.iogeckoCredo di sì, nlnet sponsorizza la review11:21:21
@telegram_73824637:t2bot.ioAndrea Ciceri
In reply to gecko
Conoscete Zilch? https://puck.moe/zilch/docs/
Han chiesto ad un mio amico di farci review di sicurezza
Ricordo il talk al NixCon, gliel'hanno chiesto proprio i creatori? Pensavo fosse mezzo morto comunque il progetto
11:18:29
@telegram_28186152:t2bot.ioLucio
In reply to Andrea Ciceri
Questo ha Windows 11 sembrerebbe: https://github.com/RyzeNGrind/wfvm
Lo controllo
14:16:05
@telegram_721172851:t2bot.iox71c9Ciao ragazzi, mi ricordo che l'ultima volta che ci siamo incontrati eravate riusciti a creare un container con systemd all'interno. Per caso avete ancora il codice, sto cercando online qualcosa di simile ma non riesco a trovare nulla che funzioni.15:26:52
@telegram_721172851:t2bot.iox71c9ah fantastico, grazie! ora me lo studio16:23:46
@telegram_73824637:t2bot.ioAndrea Ciceri
In reply to x71c9
Ciao ragazzi, mi ricordo che l'ultima volta che ci siamo incontrati eravate riusciti a creare un container con systemd all'interno. Per caso avete ancora il codice, sto cercando online qualcosa di simile ma non riesco a trovare nulla che funzioni.
forse @Mugiwarix ?
Tra l'altro proprio due settimane fa ho fatto degli esperimenti su questo per vedere se riuscivo ad avere una immagina avviabile normalmente. (ricordo che l'altra volta dovevamo passare un qualche argomento a podman, e forse pure essere root. Spoier: non ci sono riuscito neanche a sto giro)
16:20:59
@telegram_73824637:t2bot.ioAndrea Ciceri comunque l'altra volta avevamo usato nixos-generators, ma in realta' puoi direttamente importare un modulo da nixpkgs e settare una manciata di opzioni, guarda qui: https://github.com/nix-community/nixos-generators/blob/master/formats/docker.nix 16:22:22
@telegram_721172851:t2bot.iox71c9 quindi con questo metodo è possibile creare un container per docker con qualunque flake giusto? Ma mi sembra di capire che se volessi invece creare un nix container non ho neanche bisogno di nixos-generators, mi basta settare boot.isContainer = true; ? 16:54:52
@telegram_28186152:t2bot.ioLucio
In reply to Andrea Ciceri
forse @Mugiwarix ?
Tra l'altro proprio due settimane fa ho fatto degli esperimenti su questo per vedere se riuscivo ad avere una immagina avviabile normalmente. (ricordo che l'altra volta dovevamo passare un qualche argomento a podman, e forse pure essere root. Spoier: non ci sono riuscito neanche a sto giro)
Si, come hai già detto abbiamo usato nixos-generators. Basta creare un file configuration.nix con i servizi e le applicazioni che vuoi nel container e dopo generare l'immagine con "nix run github:nix-community/nixos-generators -- -f docker -c configuration.nix". A quel punto ti genera un tar.xz che puoi importare con "docker import archivio_tar.xz nome-immagine". Infine lanci il container con "docker run nome_immagine /init".
16:43:46
@telegram_28186152:t2bot.ioLucio Riguardo la prima domanda è esatto. Nel secondo caso parzialmente, c'è la guida ufficiale https://wiki.nixos.org/wiki/NixOS_Containers che spiega come fare con degli esempi completi. 17:10:17

There are no newer messages yet.


Back to Room ListRoom Version: 10