28 Mar 2024 |
hexa |
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 | hexa: for simple use cases, it is not better than system.autoUpgrade . On your example, differences are: | 06:02:26 |
lewo | * 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 | 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 | * 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 joined the room. | 18:21:38 |
| zodman set a profile picture. | 18:59:18 |
| wrycode joined the room. | 20:22:18 |
29 Mar 2024 |
| SebTM joined the room. | 03:38:41 |
| tom changed their display name from Tom to tom. | 14:44:17 |
| @eclipsed-raven:matrix.org joined the room. | 14:45:56 |
| @eclipsed-raven:matrix.org left the room. | 14:48:09 |
parallel21 | 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 | * 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 | Yes\ | 17:32:40 |
K900 | * Yes | 17:32:43 |
K900 | Unless the folder is /etc, in which case use environment.etc | 17:32:51 |
parallel21 | Might you know of an example of this somewhere? | 17:35:02 |
K900 | What's the path? | 17:35:50 |
parallel21 | Thanks in the least for confirming my suspicion. | 17:36:19 |
parallel21 | /var/lib/rancher/k3s/server/manifests | 17:36:25 |
K900 | Use systemd.tmpfiles.rules then | 17:37:03 |
parallel21 | Like
systemd.tmpfiles.rules = [
"L+ /var/lib/rancher/k3s/server/manifests - - - - ${bootstrapFile}"
];
}```
| 17:40:50 |
parallel21 | * Like
{
systemd.tmpfiles.rules = [
"L+ /var/lib/rancher/k3s/server/manifests - - - - ${bootstrapFile}"
];
}
| 17:41:01 |
K900 | Yes | 17:46:45 |
parallel21 | 🙌 That was much simpler than I anticipated – pretty clean too | 17:59:35 |
parallel21 | Thanks! | 17:59:35 |
30 Mar 2024 |
| ivan joined the room. | 04:13:03 |
| yoghurt joined the room. | 10:27:46 |
| alina🏳️⚧️🐾 joined the room. | 11:35:47 |