30 Mar 2024 |
| @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 |
raitobezarius |
nixpkgs on release-23.11 [$?]
❯ fd zfs-
nixos/lib/make-single-disk-zfs-image.nix
nixos/lib/make-multi-disk-zfs-image.nix
| 19:44:11 |
Andy Hamon | LKL means "make an image without ever booting a VM" right? | 19:44:31 |
Andy Hamon | Anyways, nice find! | 19:52:35 |
| Kyle Gibbons joined the room. | 21:23:38 |
31 Mar 2024 |
| @fack:cyberia.club left the room. | 00:04:49 |
| @lychee:lefishe.club joined the room. | 20:04:09 |
| skippy joined the room. | 20:34:32 |
1 Apr 2024 |
| casserole_knight joined the room. | 19:46:50 |
| @alex2022k:matrix.org joined the room. | 20:03:47 |
| casserole_knight changed their display name from rumenmitov to casserole_knight. | 20:09:28 |
| @sako:catgirl.cloud joined the room. | 20:17:46 |