Why is Nix/home-manager so slow?

submitted by mawkler to nix
6 points | 3 comments

Sorry if this is an ignorant question. I love Nix, but as a user it feels absurd that changing an option from true to false in a home-manager managed config file that then gets transpiled from Nix to TOML, for instance, takes like 10 seconds on a decently modern machine.

In my world that kind of transpilation should be instant. I get that…

Read more →
three-ish line change for more storage on NixOS: Using Bees on btrfs has saved me a lot of storage space, can recommend

submitted by tanja to nix
1 points | 0 comments

From my own post: cross-posted from: lemmy.world/post/47418159


I’ve just set up bees on my laptop.

  • It’s been running for 40 minutes now
  • I went from 28G to 58G free space on my 2 TB SSD
  • Without deleting anything

I’m genuinely amazed.
Idk why, but I thought this was more of a gimmick for some reason, but nah it works…

Read more →
Tip: Copy your files and submodules [Flakes & Git]

submitted by quarterstar to nix
6 points | 0 comments

You probably already know that Nix Flakes does not recognize files in your project if you do not track them by Git, and if you do not want to add them directly, you can use the –intent-to-add flag:

git add --intent-to-add <file>

This makes Git track the file, but it is not staged. Example:

$ touch file
$ git add…
Read more →
Wrote a module to fetch emails and serve them via IMAP

submitted by onlinepersona to nix
6 points | 0 comments

TL;DR fetchmail to move all emails from email provider to local mailbox that is then served via IMAP by dovecot

Hi, I like being able to switch between email providers easily without having to change my email address (related post). For example right now people have to go through the hassle of going from mygreatusername@some.host to…

Read more →
Page 1