!BgJZHVOYkwVcEKLAyM:nixos.org

NixOS Deployments

986 Members
NixOS Deployment tooling247 Servers

Load older messages


SenderMessageTime
28 Mar 2024
@hexa:lossy.networkhexa

Before using comin, i have been actually using the auto-upgrade module for years! Basically, comin “just” provides more features (and a lot more are planned).

03:27:18
@lewo:matrix.orglewo hexa: for simple use cases, it is not better than system.autoUpgrade. On your example, differences are: 06:02:26
@lewo:matrix.orglewo *

hexa: for simple use cases, it is not better than system.autoUpgrade. On your example, differences are:

  • comin doesn't support yet reboot
  • comin doesn't allow a branch "hard reset" (currenlty this is not true when your restart comin)
06:03:46
@lewo:matrix.orglewo The major features this first version of comin brings are multiple remotes and testing branches. Thes features allowed me to use comin on my laptop while i didn't find autoUpgrade suitable for this use case. 06:07:04
@lewo:matrix.orglewo * The major features for this first version of comin brings are multiple remotes and testing branches. Thes features allowed me to use comin on my laptop while i didn't find autoUpgrade suitable for this use case. 07:35:04
@rungmc:matrix.orgrungmc joined the room.18:21:38
@zodman101:matrix.orgzodman set a profile picture.18:59:18
@wrycode:gitter.imwrycode joined the room.20:22:18
29 Mar 2024
@sebtm:lodere.esSebTM joined the room.03:38:41
@tom:uint.onetom changed their display name from Tom to tom.14:44:17
@eclipsed-raven:matrix.org@eclipsed-raven:matrix.org joined the room.14:45:56
@eclipsed-raven:matrix.org@eclipsed-raven:matrix.org left the room.14:48:09
@parallel21:matrix.orgparallel21 I use nixos-rebuild switch --flake... to deploy my nix config to a remote host. I am looking for a way to take a file I have "my-config.toml" and write it to the host. What's the "nix" way of doing this? Writing the file to the nix-store and then using systemd to create a symlink if I want it referenced in a specific folder 17:32:00
@parallel21:matrix.orgparallel21 * I use nixos-rebuild switch --flake... to deploy my nix config to a remote host. I am looking for a way to take a file I have "my-config.toml" and write it to the host. What's the "nix" way of doing this? Writing the file to the nix-store and then using systemd to create a symlink if I want it referenced in a specific folder? 17:32:06
@k900:0upti.meK900 Yes\ 17:32:40
@k900:0upti.meK900 * Yes17:32:43
@k900:0upti.meK900 Unless the folder is /etc, in which case use environment.etc 17:32:51
@parallel21:matrix.orgparallel21Might you know of an example of this somewhere?17:35:02
@k900:0upti.meK900What's the path?17:35:50
@parallel21:matrix.orgparallel21Thanks in the least for confirming my suspicion.17:36:19
@parallel21:matrix.orgparallel21 /var/lib/rancher/k3s/server/manifests 17:36:25
@k900:0upti.meK900 Use systemd.tmpfiles.rules then 17:37:03
@parallel21:matrix.orgparallel21

Like

  systemd.tmpfiles.rules = [
    "L+ /var/lib/rancher/k3s/server/manifests - - - - ${bootstrapFile}"
  ];
}```
17:40:50
@parallel21:matrix.orgparallel21 *

Like

{
  systemd.tmpfiles.rules = [
    "L+ /var/lib/rancher/k3s/server/manifests - - - - ${bootstrapFile}"
  ];
}
17:41:01
@k900:0upti.meK900Yes17:46:45
@parallel21:matrix.orgparallel21🙌 That was much simpler than I anticipated – pretty clean too17:59:35
@parallel21:matrix.orgparallel21Thanks!17:59:35
30 Mar 2024
@ivank:matrix.orgivan joined the room.04:13:03
@yoghurtt:matrix.orgyoghurt joined the room.10:27:46
@alina:kescher.atalina🏳️‍⚧️🐾 joined the room.11:35:47

Show newer messages


Back to Room ListRoom Version: 6