!ZUiNnfpRqQMDrPLChM:nixos.org

Nix ♥ la francophonie

154 Members
Salon francographe de NixOS54 Servers

Load older messages


SenderMessageTime
11 Apr 2024
@rgrunbla:matrix.orgRémy GrünblattCoucou13:23:38
@rgrunbla:matrix.orgRémy GrünblattEst-ce qu'Anthony Roussel serait dans le coin, à tout hasard ?13:23:56
@wegank:matrix.orgWeijia Peut-être Anthony Rsl ? 13:24:51
@rgrunbla:matrix.orgRémy Grünblatt Ah ! Peut être ! Hello Anthony Rsl ! J'essaye d'utiliser gns3-server (tu as du voir tes mails), et j'ai encore un petit problème : j'ai l'impression que la detection des flags ne fonctionne pas vraiment sur https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/networking/gns3-server.nix 13:41:38
@rgrunbla:matrix.orgRémy Grünblatti.e. j'ai bien virtualisation.libvirtd.enable = true le SupplementaryGroups ne contient pas libvirtd ( https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/networking/gns3-server.nix#L224-L226 ).13:41:59
@rgrunbla:matrix.orgRémy Grünblatt(si t'as une idée…)13:42:06
@anthonyrsl:matrix.orgAnthony Rsl
In reply to @rgrunbla:matrix.org
Est-ce qu'Anthony Roussel serait dans le coin, à tout hasard ?
Bonjour ! Oui c'est bien moi :)
16:47:07
@anthonyrsl:matrix.orgAnthony Rsl
In reply to @rgrunbla:matrix.org
Ah ! Peut être ! Hello Anthony Rsl ! J'essaye d'utiliser gns3-server (tu as du voir tes mails), et j'ai encore un petit problème : j'ai l'impression que la detection des flags ne fonctionne pas vraiment sur https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/networking/gns3-server.nix
Ah étrange, c'est un bug dans le module alors :)
Je vais regarder ça.
C'était mon premier module NixOS, et je crois que le module manque de tests sur la partie virtualisation.
16:51:17
@anthonyrsl:matrix.orgAnthony RslComment utilises-tu le module dans ta configuration NixOS ? Il n'est disponible que dans NixOS unstable pour le moment.17:21:10
@anthonyrsl:matrix.orgAnthony RslJe viens de tester sur ma machine, j'arrive bien à lancer une VM QEMU depuis GNS3 avec mon installation avec une ISO TinyCore Linux.17:57:36
@anthonyrsl:matrix.orgAnthony RslComme le module n'est pas dispo dans 23.11, j'importe le module GNS3 Server de mon dépôt nur-packages : https://github.com/anthonyroussel/nur-packages/blob/master/modules/nixos/gns3-server.nix17:58:37
@anthonyrsl:matrix.orgAnthony RslEt je l'importe dans ma config NixOS comme ceci : https://github.com/anthonyroussel/nixos-config/blob/main/modules/gns3/default.nix17:58:50
@rgrunbla:matrix.orgRémy Grünblatt Alors, comme ça: services.gns3-server = { enable = true; settings = { "Server" = { "host" = "0.0.0.0"; "port" = 3080; }; }; dynamips = { enable = true; }; vpcs = { enable = true; }; ubridge = { enable = true; }; }; (je suis sur 24.05 / master) 19:11:14
@rgrunbla:matrix.orgRémy GrünblattIl m'a fallu un petit systemd.services.gns3-server.path = [pkgs.qemu]; déjà, pour que qemu soit détecté19:12:13
@rgrunbla:matrix.orgRémy GrünblattJe teste en VM ( nix build github:rgrunbla/GNS3-Server && ./result/bin/run-nixos-vm )19:14:59
@rgrunbla:matrix.orgRémy Grünblattsi tu fais un systemctl cat gns3-server, tu vois bien libvirtd dans SupplementaryGroups ?19:15:29
@anthonyrsl:matrix.orgAnthony Rsl Oui j'ai bien SupplementaryGroups=libvirtd 20:32:46
@anthonyrsl:matrix.orgAnthony RslJ'arrive bien à reproduire le problème avec le dépôt github.com/rgrunbla/GNS3-Server21:02:18
@anthonyrsl:matrix.orgAnthony RslMais ça se corrige en suivant la structure dans le README de nixos-generators: https://github.com/nix-community/nixos-generators?tab=readme-ov-file#setting-the-disk-image-size21:02:54
@anthonyrsl:matrix.orgAnthony RslEt après j'ai bien docker et libvirtd dans SupplementaryGroups avec votre projet dans le fichier result/system/etc/systemd/system/gns3-server.service21:04:06
@rgrunbla:matrix.orgRémy Grünblatthm21:05:12
@anthonyrsl:matrix.orgAnthony RslDownload patch21:05:50
@anthonyrsl:matrix.orgAnthony Rslavec ceci j'ai bien le bon résultat21:06:57
@anthonyrsl:matrix.orgAnthony Rslmais je n'ai pas trop l'explication21:07:25
@rgrunbla:matrix.orgRémy Grünblattje vais tenter de simplement update le flake, on va voir…21:07:35
@rgrunbla:matrix.orgRémy Grünblattmerci en tout cas (et si je trouve la "vraie" raison je remets un message ici)21:09:51
@anthonyrsl:matrix.orgAnthony Rsl

ah je viens de jeter à nouveau un coup d'oeil
ça à l'air de venir de

    virtualisation = {
      forwardPorts =
        [
          { from = "host"; host.port = 3080; guest.port = 3080; }
        ];
        memorySize = 4096;
    };

qui override tout virtualisation j'ai l'impressio

21:12:05
@anthonyrsl:matrix.orgAnthony Rsl *

ah je viens de jeter à nouveau un coup d'oeil
ça à l'air de venir de

    virtualisation = {
      forwardPorts =
        [
          { from = "host"; host.port = 3080; guest.port = 3080; }
        ];
        memorySize = 4096;
    };

qui override tout virtualisation j'ai l'impression

21:12:14
@rgrunbla:matrix.orgRémy Grünblattduh21:12:35
@rgrunbla:matrix.orgRémy Grünblattje pensais qu'il allait merge21:12:45

Show newer messages


Back to Room ListRoom Version: 6