29 Mar 2024 |
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 |
| @lunik1:lunik.one left the room. | 15:12:39 |
| Mr.Macska joined the room. | 17:46:32 |
Mr.Macska | Hey yall, absolutely new to nix, how can I package my rust project so I can install it from my git server with fetchFromGitea ? I have not yet found a video or wiki page that explains it straight forward | 17:50:27 |
K900 | Look into buildRustPackage in the nixpkgs manual | 17:54:29 |
Mr.Macska | Yeah, i did that part but now I have no idea how to install it to my system :( Migrated to flakes a day ago and i saw some some way of installing stuff from github, can i do that too with my own instance of gitea? | 17:57:06 |
K900 | This has nothing to do with flakes, really | 17:57:50 |
Mr.Macska | hm | 17:58:15 |
K900 | If you have a package already defined, you can add it to your system with something like
environment.systemPackages = [
(pkgs.callPackage ./your-package.nix {})
];
| 17:58:15 |
Mr.Macska | Neat,. thanks | 17:58:37 |
Andy Hamon | Has anyone endeavored to build a nixos image (i.e. using nixos-generators) that has a zfs filesystem? I was reading the implementation of make-disk-image.nix and it appears to use mkfs and cptofs which don't support zfs. | 19:37:06 |
Andy Hamon | I'm guessing that the only way would be to find some replacement for those that can make a zfs filesystem... which I imagine involves booting a VM with a kernel with zfs support, as I'm unaware of a way to make a zfs filesystem with a userspace-only tool | 19:38:56 |
Andy Hamon | * Has anyone endeavored to build a nixos image (i.e. similar to how you might using nixos-generators) that has a zfs filesystem? I was reading the implementation of make-disk-image.nix and it appears to use mkfs and cptofs which don't support zfs. | 19:41:56 |
raitobezarius | there's an existing maker for ZFS single disk or multi dks | 19:43:20 |
raitobezarius | * there's an existing maker for ZFS single disk or multi dkss | 19:43:22 |
raitobezarius | * there's an existing maker for ZFS single disk or multi disks | 19:43:23 |
raitobezarius | in nixpkgs | 19:43:25 |
raitobezarius | but it'd be VM only | 19:43:32 |
raitobezarius | there's no proper LKL stuff for ZFS | 19:43:37 |
raitobezarius | but someone could write such a thing and it'd make me happier in life | 19:43:50 |