toad.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server operated by David Troy, a tech pioneer and investigative journalist addressing threats to democracy. Thoughtful participation and discussion welcome.

Administered by:

Server stats:

272
active users

#flakes

3 posts3 participants0 posts today

One of the most important functions on my computer is the GNOME #Authenticator app. Without it I cannot even access many of the services I use daily. I need to reinstall my #NixOS machine to move to #flakes and clean up some messy command-line installs. Is there a way to restore the authenticator app after reinstall so it works for all services, without having to revisit each site and re-enroll the #2FA manually? Can this be achieved via a flake that manages #secrets? #authenticatorapp

「 Flakes have not meaningfully improved in several years, “crucial” fixes and features for Flakes have stalled in open pull requests headed almost entirely by Determinate Systems, and the feature itself has been both declared unstable as well as stable by the Nix development team and Determinate Systems respectively. This absurdity is entirely self-inflicted and can be resolved by any party at any time, but participants choose otherwise 」

kilo.bytesize.xyz/flakes-have-

kilo.bytesize · Flakes Have FailedOver the years Nix adoption has grown dramatically, and, with it, sharing of Nix projects has grown as well. This need to consume one pro...

Ok #NixOS people who love #flakes .. can I put my flake.nix in a non standard location? I have a git repo I have all my nix modules in.

```
[mkelly@garage:~/Projects/nix]$ ls
cheatsheet cinnamon common flake.nix gnome hacks helix hyprland kde nvim sway wallpapers

[mkelly@garage:~/Projects/nix]$ sudo nixos-rebuild switch --flake ~/Projects/nix
error: path '/nix/store/h6j33x98r8v6pzvb09yxbsxj6jiiargz-source/flake.nix' does not exist
```

Replied in thread

I would like to have something similar to #nix' #flakes and overlays.

This way you can have two revisions of guix living along, one for operating-systems of deployments and one for development/application environment, which can be later added to operating system as well.

Guix'es versions will be controlled/locked with one explicit well-defined mechanism. You get fully-compatible packages instead of hacky inferior-package.

Unfortunately, not possible without human-years of [re-]work of guix.

My shell.nix file is slowly morphing into a flake.nix file.

Which means the Pandora's Box of Nixos has been cracked open to me. I now finally understand what a FLAKE is.

It's terribly explained. To get the idea you have to puzzle your knowledge from multiple HEAVILY OUTDATED sources.

Not sure if I understand this correctly - #nixos modules alone are bound to a channel - but systems are not truly reproducible since the versions can change in said channel. #flakes pin versions of installed software and make systems truly reproducible.

What is the point of #nixos modules then? Isn’t the whole reason why you would use it reproducibility?

#NixOS update after sleeping for one month on host floyd (lenovo x260) takes 1 hour and 15 minutes (despite new 2TB SSD). During that, the device is almost non-responsive for anything else.

Host jackson (with even a slightly larger setup) probably would need 5-10 minutes maximum (lenovo t490). (I do weekly updates there.)

Didn't had that update "performance" while using Xubuntu LTS before. 🤔

github.com/novoid/nixos-config

GitHubGitHub - novoid/nixos-config: NixOS + flakes + home-manager with xfce, zsh, tmux, ...NixOS + flakes + home-manager with xfce, zsh, tmux, ... - novoid/nixos-config

The tool for programmatically updating guix channels and package definitions in your project would make life so much easier.

Something like niv or flakes for nix.
github.com/nmattia/niv
nixos.wiki/wiki/Flakes

Have it in my mind for months or even years.

GitHubGitHub - nmattia/niv: Easy dependency management for Nix projectsEasy dependency management for Nix projects. Contribute to nmattia/niv development by creating an account on GitHub.
#guix#nix#scheme