this post was submitted on 01 Sep 2023
12 points (100.0% liked)

NixOS

992 readers
1 users here now

NixOS is a Linux distribution built on top of the Nix package manager. Its declarative configuration allows reliable system upgrades via several official channels of stability and size.

This community discusses NixOS, Nix, and everything related.

founded 1 year ago
MODERATORS
 

Hi all, I've been getting into nix lately (I've been posting here frequently) and wanted to know what projects everyone is working on. Are you trying to integrate nix into an existing project? Contribute to nixpkgs? Experiment with your configs?

top 8 comments
sorted by: hot top controversial new old
[–] demesisx@infosec.pub 5 points 1 year ago* (last edited 1 year ago)

I'm working on a dApp that uses Haskell Servant or Purescript's Httpurple (haven't really settled on one yet though I imagine Haskell currently is my preference since it will have more capability for a back end) as backend and Purescript's Halogen as the front end. I am in WAY over my head but learning a ton. purs-nix and hix and the work shared by Lovelace Academy are going to be major parts of why this will actually work in the end.

Progress is here if anyone has any pointers. I am getting stuck on some fairly newbish issues but the flake I am building that glues the project together has some nice features. I had originally been planning to use default.nix files in the folders of each component but it looks like a flake in each directory would work better.

[–] rutrum@lm.paradisus.day 4 points 1 year ago

I've also been working on making a flake for the WASM-4 retro console . They had a game jam some time ago that I made a game for, and I thought it'd be cool to package the game with nix. Of course, I first had to wrap the build tool in a flake, and now I'm working on a devshell to build my game. I suspect I'll have to expand more packages on the wasm4 flake, since theres runtimes and other binaries too.

[–] Triton@lemm.ee 3 points 1 year ago (2 children)

I've started writing a NixOS config to replace the Ubuntu install that I currently have on my server. I'm starting to question if it makes sense though, since the Nextcloud Snap is very convenient (it even includes a backup/restore script) and I don't know if I'll be able to easily replicate all of that easily using the NixOS module.

[–] rutrum@lm.paradisus.day 2 points 1 year ago

I run my nextcloud using docker, which could be another option. I've also heard of Nextcloud All in One (AIO) which might be useful as well. Neither are nix solutions, but could be as convenient as the snap.

[–] benneti@lemmy.world 2 points 1 year ago

I have it in nix and use the postrgesql backup config + borg in nixos to move the database and files on another host for backups. I would say it is not too complicated as long as you dont want to have it fully declarative (i sill manage users and apps in nextcloud itself).

[–] rutrum@lm.paradisus.day 3 points 1 year ago

I've been slowly expanding my home manager configuration to consume more and more of my existing dotfiles and programs. Whats awesome is how short it's taken me to say, convert my neovim config over. It was small anyway, since I never jumped into nvim configuration. But since nix made it so easy to add on plugins, I've been having a lot of fun and it's been easy to iterate upon.

Eventually I'm going to have to break out my config between my two systems, since I'm starting to install some beefier creative GUI utilities (gimp, blender, inkscape) on my laptop, which I don't do (or want to do) that creative work on.

[–] Cwilliams@beehaw.org 2 points 1 year ago (1 children)

I'm going down the home-manager rabbithole right now. It's super interesting and different from other linux projects. I love the flexibility it offers, for example, my nvim config is quite large and hard to port over, so I'm just including it with home.files.

My dots are here if you're interested

[–] rutrum@lm.paradisus.day 1 points 1 year ago

Looks like you have a good start. Being to manage existing files with home.file makes it so easy go jump on board. I also love being able to define my own file structure and home manager takes care of the rest. Keep me updated on how this progresses!