24 Mar 2024 |
greg | Each time I look into Nixops it just seems so similar in goal to Terraform, just more niche | 21:52:23 |
Bruno Adele | With NixOps, can be use for install a local desktop computer (without ssh connexion) ? | 22:05:41 |
25 Mar 2024 |
| @marsam:matrix.org left the room. | 01:44:51 |
Bruno Adele | Wow... This video makes me want to try out NixOps => https://www.youtube.com/watch?v=SoHtccHNOJ8
As part of my nix-homelab project( https://github.com/badele/nix-homelab ), it makes me want to migrate from the python(invoke) + nix flake combo to justfile + nixops.
But I have some questions, how is the installation bootstrap organized on a physical machine?
- Livecd
- partition (disko)
- format (disko)
Because I would like to use it to manage servers as well my physical desktop machines.
| 06:58:45 |
K900 | nixops is dead | 07:00:14 |
K900 | You probably want deploy-rs or colmena if you already have a flake | 07:00:21 |
Bruno Adele | Ah pity, it sounded interesting. | 07:01:16 |
K900 | deploy-rs and colmena both do largely the same thing | 07:01:44 |
K900 | Except the cloud provisioning bits | 07:01:55 |
K900 | But you probably don't need those for your homelab | 07:02:03 |
Bruno Adele | And virtualbox or libvirt ? | 07:02:42 |
K900 | You can do that with terraform, I guess | 07:02:59 |
K900 | Though I really don't see a reason to run VMs for small scale deployments at this point | 07:03:18 |
Bruno Adele | For testing news installation :) | 07:04:42 |
K900 | You could do that with just nixos-rebuild build-vm | 07:05:12 |
Bruno Adele | In reply to @k900:0upti.me You could do that with just nixos-rebuild build-vm I never used it | 07:06:18 |
26 Mar 2024 |
| zodman joined the room. | 00:48:32 |
| Maximilian Gaedig ⚡️ joined the room. | 15:09:27 |
| Albin Vass set a profile picture. | 15:34:13 |
| Albin Vass changed their profile picture. | 15:34:39 |
| Albin Vass changed their profile picture. | 15:35:15 |
| Albin Vass changed their profile picture. | 15:35:46 |
| Marco Turchetto joined the room. | 16:13:04 |
| @simonyde:matrix.org left the room. | 21:15:30 |
27 Mar 2024 |
| linj joined the room. | 08:46:40 |
| Alper Çelik joined the room. | 14:59:57 |
Alper Çelik | hello when i run
[I] alper@lenovo-ideapad-510 ~/P/MyServers [1]> export NIX_SSHOPTS="-o RequestTTY=force"
[I] alper@lenovo-ideapad-510 ~/P/MyServers> nixos-rebuild test --target-host rpi5@192.168.1.103 --build-host rpi5@192.168.1.103 --use-remote-sudo --flake .#rpi5 --fast
i get
building the system configuration...
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/yi5cgqwq1rgdk9p93lj252fy5ppqnyrr-nixos-system-rpi5-24.05.20240325.57e6b3a.drv^*'
Shared connection to 192.168.1.103 closed.
[sudo] password for rpi5:
Shared connection to 192.168.1.103 closed.
[sudo] password for rpi5:
Failed to find executable o such file or directory
bash: line 1: $'1mwarning:\E[0m': command not found
bash: line 1: the: command not found
/bin/switch-to-configuration: No such file or directory9r-nixos-system-rpi5-24.05.20240325.57e6b3a
Shared connection to 192.168.1.103 closed.
warning: error(s) occurred while switching to the new configuration
could you help me to fix it
oh btw i am trying to deploy configration to a raspbery pi5 with nixos installed
| 15:03:39 |
K900 | Don' | 15:10:18 |
K900 | * Don't use RequestTTY like that | 15:10:23 |
K900 | Or fix the warnings in your config | 15:10:30 |