!BgJZHVOYkwVcEKLAyM:nixos.org

NixOS Deployments

986 Members
NixOS Deployment tooling246 Servers

Load older messages


SenderMessageTime
24 Mar 2024
@greg:thehellings.comgregEach time I look into Nixops it just seems so similar in goal to Terraform, just more niche21:52:23
@badele:matrix.orgBruno AdeleWith NixOps, can be use for install a local desktop computer (without ssh connexion) ?22:05:41
25 Mar 2024
@marsam:matrix.org@marsam:matrix.org left the room.01:44:51
@badele:matrix.orgBruno 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:0upti.meK900nixops is dead07:00:14
@k900:0upti.meK900You probably want deploy-rs or colmena if you already have a flake07:00:21
@badele:matrix.orgBruno AdeleAh pity, it sounded interesting.07:01:16
@k900:0upti.meK900deploy-rs and colmena both do largely the same thing07:01:44
@k900:0upti.meK900Except the cloud provisioning bits07:01:55
@k900:0upti.meK900But you probably don't need those for your homelab07:02:03
@badele:matrix.orgBruno AdeleAnd virtualbox or libvirt ?07:02:42
@k900:0upti.meK900You can do that with terraform, I guess07:02:59
@k900:0upti.meK900Though I really don't see a reason to run VMs for small scale deployments at this point07:03:18
@badele:matrix.orgBruno AdeleFor testing news installation :)07:04:42
@k900:0upti.meK900 You could do that with just nixos-rebuild build-vm 07:05:12
@badele:matrix.orgBruno 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
@zodman101:matrix.orgzodman joined the room.00:48:32
@mg:maximiliangaedig.comMaximilian Gaedig ⚡️ joined the room.15:09:27
@sylvass:albinvass.seAlbin Vass set a profile picture.15:34:13
@sylvass:albinvass.seAlbin Vass changed their profile picture.15:34:39
@sylvass:albinvass.seAlbin Vass changed their profile picture.15:35:15
@sylvass:albinvass.seAlbin Vass changed their profile picture.15:35:46
@mrtrk:matrix.orgMarco Turchetto joined the room.16:13:04
@simonyde:matrix.org@simonyde:matrix.org left the room.21:15:30
27 Mar 2024
@me:linj.techlinj joined the room.08:46:40
@alper-celik:matrix.orgAlper Çelik joined the room.14:59:57
@alper-celik:matrix.orgAlper Ç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:0upti.meK900Don'15:10:18
@k900:0upti.meK900 * Don't use RequestTTY like that15:10:23
@k900:0upti.meK900Or fix the warnings in your config15:10:30

Show newer messages


Back to Room ListRoom Version: 6