!ZUiNnfpRqQMDrPLChM:nixos.org

Nix ♥ la francophonie

233 Members
Salon francographe de NixOS76 Servers

Load older messages


SenderMessageTime
27 Mar 2022
@putch4r:matrix.orgputchar
In reply to @pinage404:matrix.org

j'ai flakifié ma config de mon raspberry

j'arrive à la build sur mon laptop
nixFlakes build ".#nixosConfigurations.pi3bb.config.system.build.toplevel"

mais à le déployer

deploy
🚀 ⚠️ [deploy] [WARN] A Nix version without flakes support was detected, support for this is work in progress
🚀 ℹ️ [deploy] [INFO] Running checks for flake in .
error: 
Failed assertions:
- The NixOS nixpkgs.pkgs option was set to a Nixpkgs invocation that compiles to target system x86_64-linux but NixOS was configured for system aarch64-linux via NixOS option nixpkgs.localSystem. The NixOS system settings must match the Nixpkgs target system.
(use '--show-trace' to show detailed location information)
🚀 ❌ [deploy] [ERROR] Failed to check deployment: Nix checking command resulted in a bad exit code: Some(1)

ma config est ici https://gitlab.com/pinage404/dotfiles/-/blob/pi3bb/deploy-rs/flake.nix#L135

des idées de comment build sur le laptop et utiliser sur le PI ?

essaye de poser la question sur le chan deploy-rs
je t'avoue que j'ai encore du mal à lire les conf nestées et avec flake-utils =x
11:04:17
@putch4r:matrix.orgputchar
In reply to @putch4r:matrix.org
essaye de poser la question sur le chan deploy-rs
je t'avoue que j'ai encore du mal à lire les conf nestées et avec flake-utils =x
j'ai aussi l'impression que tu as 2 bloc "deploy"
11:04:53
@pinage404:matrix.orgpinage404
In reply to @putch4r:matrix.org
j'ai aussi l'impression que tu as 2 bloc "deploy"
j'ai effectivement 2 blocs deploy mais je les fusionne https://gitlab.com/pinage404/dotfiles/-/blob/pi3bb/deploy-rs/flake.nix#L125
13:54:29
@pinage404:matrix.orgpinage404
In reply to @putch4r:matrix.org
essaye de poser la question sur le chan deploy-rs
je t'avoue que j'ai encore du mal à lire les conf nestées et avec flake-utils =x
j'ai posé la question sur #deploy-rs:nixos.org mais j'ai hésité avec #nixos-on-arm:nixos.org / #cross-compiling:nixos.org / #nix:nixos.org / #nixops:nixos.org , il y a beaucoup de chans 😅
14:56:47
@putch4r:matrix.orgputchar
In reply to @pinage404:matrix.org
j'ai posé la question sur #deploy-rs:nixos.org mais j'ai hésité avec #nixos-on-arm:nixos.org / #cross-compiling:nixos.org / #nix:nixos.org / #nixops:nixos.org , il y a beaucoup de chans 😅
oui j'ai vu
et du coup it works ?
16:05:09
@pinage404:matrix.orgpinage404it builds x)16:05:30
@pinage404:matrix.orgpinage404(le build est long)16:05:37
@putch4r:matrix.orgputcharah c est long meme sur ton desktop ? mouarf16:05:57
@pinage404:matrix.orgpinage404j'imagine que les paquets ARM ne sont pas encore dans mon cache16:07:18
@pinage404:matrix.orgpinage404là, ça build deploy-rs, c'est du Rust, donc la compilation est longue16:07:41
@pinage404:matrix.orgpinage404toujours en train de build ... c'est plus long que le PI16:34:42
@putch4r:matrix.orgputchartu as combien de cpu sur le builder ?17:06:47
@pinage404:matrix.orgpinage404je crois que ça utilise les 817:12:18
@pinage404:matrix.orgpinage404je l'ai killé et relancé ça bougeait plus, je pense que c'était une erreur17:12:34
28 Mar 2022
@putch4r:matrix.orgputchar
In reply to @pinage404:matrix.org
je l'ai killé et relancé ça bougeait plus, je pense que c'était une erreur
si tu as un overlay c'est ptet ça qui provoque bcp de build ?
09:02:43
@putch4r:matrix.orgputcharet du coup tu as pu build + deploy ? 09:02:52
29 Mar 2022
@pinage404:matrix.orgpinage404

ah ! j'ai plein d'overlay (la plupart presque pas utilisés)

mais j'ai surtout celui ci https://gitlab.com/pinage404/dotfiles/-/blob/main/nixos/nix/overlays/overlays_from_flake_lock.nix#L7 et https://gitlab.com/pinage404/dotfiles/-/blob/main/nixos/nix/overlays/packages_overlay.nix pour essayer d'utiliser la version flakifiée lorsque je fais des commandes sans flake (home-manager switch, nixos-rebuild switch)

19:10:13
@pinage404:matrix.orgpinage404
In reply to @putch4r:matrix.org
et du coup tu as pu build + deploy ?

nope

deploy
🚀 ℹ️ [deploy] [INFO] Running checks for flake in .
warning: Git tree '/home/pinage404/Project/dotfiles_pi3bb' is dirty
warning: unknown flake output 'homeConfigurations'
trace: warning: Use the `ldflags` and/or `tags` attributes instead of `buildFlags`/`buildFlagsArray`
warning: unknown flake output 'deploy'
🚀 ℹ️ [deploy] [INFO] Evaluating flake in .
warning: Git tree '/home/pinage404/Project/dotfiles_pi3bb' is dirty
trace: warning: Use the `ldflags` and/or `tags` attributes instead of `buildFlags`/`buildFlagsArray`
🚀 ℹ️ [deploy] [INFO] The following profiles are going to be deployed:
["pi3bb.local".system]
user = "root"
ssh_user = "pi"
path = "/nix/store/0pv9ml9dk1r5izchd4yw6d467dbpi0nq-activatable-nixos-system-pi3bb-21.11.20220312.0f85665"
hostname = "pi3bb.local"
ssh_opts = ["-t"]
[pinage404-sabre15-nixos.system]
user = "root"
ssh_user = "pinage404"
path = "/nix/store/g80mpzvd4k2c62g5jl37aj1xqaq0ad2q-activatable-nixos-system-pinage404-sabre15-nixos-21.11.20220312.0f85665"
hostname = "pinage404-sabre15-nixos"
ssh_opts = ["-t"]

[pinage404-sabre15-nixos.home-manager]
user = "pinage404"
ssh_user = "pinage404"
path = "/nix/store/cgwyf8yv5ki0cv7skx6bjlqk72cqrdv0-activatable-home-manager-generation"
hostname = "pinage404-sabre15-nixos"
ssh_opts = []

🚀 ℹ️ [deploy] [INFO] Building profile `system` for node `pi3bb.local`
🚀 ℹ️ [deploy] [INFO] Copying profile `system` to node `pi3bb.local`
Pseudo-terminal will not be allocated because stdin is not a terminal.
copying 22 pathserror: cannot add path '/nix/store/w9664llblqn5byq2kgagibcbq1ry7jxx-deploy-rs-0.1.0' because it lacks a valid signature
error: writing to file: Broken pipe
🚀 ❌ [deploy] [ERROR] Failed to push profile: Nix copy command resulted in a bad exit code: Some(1)
20:11:37
@pinage404:matrix.orgpinage404 ça fonctionne \o/ 22:28:53
30 Mar 2022
@putch4r:matrix.orgputchar
In reply to @pinage404:matrix.org

nope

deploy
🚀 ℹ️ [deploy] [INFO] Running checks for flake in .
warning: Git tree '/home/pinage404/Project/dotfiles_pi3bb' is dirty
warning: unknown flake output 'homeConfigurations'
trace: warning: Use the `ldflags` and/or `tags` attributes instead of `buildFlags`/`buildFlagsArray`
warning: unknown flake output 'deploy'
🚀 ℹ️ [deploy] [INFO] Evaluating flake in .
warning: Git tree '/home/pinage404/Project/dotfiles_pi3bb' is dirty
trace: warning: Use the `ldflags` and/or `tags` attributes instead of `buildFlags`/`buildFlagsArray`
🚀 ℹ️ [deploy] [INFO] The following profiles are going to be deployed:
["pi3bb.local".system]
user = "root"
ssh_user = "pi"
path = "/nix/store/0pv9ml9dk1r5izchd4yw6d467dbpi0nq-activatable-nixos-system-pi3bb-21.11.20220312.0f85665"
hostname = "pi3bb.local"
ssh_opts = ["-t"]
[pinage404-sabre15-nixos.system]
user = "root"
ssh_user = "pinage404"
path = "/nix/store/g80mpzvd4k2c62g5jl37aj1xqaq0ad2q-activatable-nixos-system-pinage404-sabre15-nixos-21.11.20220312.0f85665"
hostname = "pinage404-sabre15-nixos"
ssh_opts = ["-t"]

[pinage404-sabre15-nixos.home-manager]
user = "pinage404"
ssh_user = "pinage404"
path = "/nix/store/cgwyf8yv5ki0cv7skx6bjlqk72cqrdv0-activatable-home-manager-generation"
hostname = "pinage404-sabre15-nixos"
ssh_opts = []

🚀 ℹ️ [deploy] [INFO] Building profile `system` for node `pi3bb.local`
🚀 ℹ️ [deploy] [INFO] Copying profile `system` to node `pi3bb.local`
Pseudo-terminal will not be allocated because stdin is not a terminal.
copying 22 pathserror: cannot add path '/nix/store/w9664llblqn5byq2kgagibcbq1ry7jxx-deploy-rs-0.1.0' because it lacks a valid signature
error: writing to file: Broken pipe
🚀 ❌ [deploy] [ERROR] Failed to push profile: Nix copy command resulted in a bad exit code: Some(1)
J'allais dire que c'est pcke ton user n'est pas dans la liste des trusted user
03:50:36
@putch4r:matrix.orgputchar
In reply to @pinage404:matrix.org

nope

deploy
🚀 ℹ️ [deploy] [INFO] Running checks for flake in .
warning: Git tree '/home/pinage404/Project/dotfiles_pi3bb' is dirty
warning: unknown flake output 'homeConfigurations'
trace: warning: Use the `ldflags` and/or `tags` attributes instead of `buildFlags`/`buildFlagsArray`
warning: unknown flake output 'deploy'
🚀 ℹ️ [deploy] [INFO] Evaluating flake in .
warning: Git tree '/home/pinage404/Project/dotfiles_pi3bb' is dirty
trace: warning: Use the `ldflags` and/or `tags` attributes instead of `buildFlags`/`buildFlagsArray`
🚀 ℹ️ [deploy] [INFO] The following profiles are going to be deployed:
["pi3bb.local".system]
user = "root"
ssh_user = "pi"
path = "/nix/store/0pv9ml9dk1r5izchd4yw6d467dbpi0nq-activatable-nixos-system-pi3bb-21.11.20220312.0f85665"
hostname = "pi3bb.local"
ssh_opts = ["-t"]
[pinage404-sabre15-nixos.system]
user = "root"
ssh_user = "pinage404"
path = "/nix/store/g80mpzvd4k2c62g5jl37aj1xqaq0ad2q-activatable-nixos-system-pinage404-sabre15-nixos-21.11.20220312.0f85665"
hostname = "pinage404-sabre15-nixos"
ssh_opts = ["-t"]

[pinage404-sabre15-nixos.home-manager]
user = "pinage404"
ssh_user = "pinage404"
path = "/nix/store/cgwyf8yv5ki0cv7skx6bjlqk72cqrdv0-activatable-home-manager-generation"
hostname = "pinage404-sabre15-nixos"
ssh_opts = []

🚀 ℹ️ [deploy] [INFO] Building profile `system` for node `pi3bb.local`
🚀 ℹ️ [deploy] [INFO] Copying profile `system` to node `pi3bb.local`
Pseudo-terminal will not be allocated because stdin is not a terminal.
copying 22 pathserror: cannot add path '/nix/store/w9664llblqn5byq2kgagibcbq1ry7jxx-deploy-rs-0.1.0' because it lacks a valid signature
error: writing to file: Broken pipe
🚀 ❌ [deploy] [ERROR] Failed to push profile: Nix copy command resulted in a bad exit code: Some(1)
* J'allais dire que c'est pcke le user qui déploie n'est pas dans la liste des trusted user sur la machine de destination
11:38:28
31 Mar 2022
@smith:livegen.netSmithJ'ai vu que NixOS hardware allait inclure le Pinebook Pro. J'aimerais bien utiliser le mien comme cobaye pour tester mais je sais pas trop comment m'y prendre. Une piste ?16:59:55
@putch4r:matrix.orgputchar
In reply to @smith:livegen.net
J'ai vu que NixOS hardware allait inclure le Pinebook Pro. J'aimerais bien utiliser le mien comme cobaye pour tester mais je sais pas trop comment m'y prendre. Une piste ?
hello
si tu fais du flake c'est très facile à mettre en place
18:56:21
@putch4r:matrix.orgputchar sinon il faut ajouter le channel nixos-hardware sur ton user root
et faire les associations dans ta conf
18:56:54
@putch4r:matrix.orgputcharn'hesite pas a me ping si tu veux le mettre en place 18:57:38
@putch4r:matrix.orgputchar * sinon il faut ajouter le channel nixos-hardware sur ton user root (tu peux target la branche qui est dans la mr avant que celle ci soit merge sur master de nixos-hardware)
et faire les associations dans ta conf
19:00:52
@smith:livegen.netSmith
En réponse à @putch4r:matrix.org
sinon il faut ajouter le channel nixos-hardware sur ton user root (tu peux target la branche qui est dans la mr avant que celle ci soit merge sur master de nixos-hardware)
et faire les associations dans ta conf
Ok je vois mais c’etait plutot pour faire l’install initial. Je peux boot sur l’image standard aarch64 ou bien je dois build moi meme?
19:04:12
@putch4r:matrix.orgputchar
In reply to @smith:livegen.net
Ok je vois mais c’etait plutot pour faire l’install initial. Je peux boot sur l’image standard aarch64 ou bien je dois build moi meme?
tu as deja nixos d'installé sur ton pinebook pro ou pas encore ?
19:04:40
@putch4r:matrix.orgputcharpcke au final nixos-hardware ce sont juste des configuration que tu pourrais ajouter toi même à la main finalement19:05:10
@putch4r:matrix.orgputcharhttps://github.com/NixOS/nixos-hardware/blob/master/framework/default.nix par exemple19:05:44

Show newer messages


Back to Room ListRoom Version: 6