mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,5 Tsd.
aktive Profile

#homemanager

1 Beitrag1 Beteiligte*r0 Beiträge heute

Finally made the jump to use #homemanager and decided to keep it

That long error message with the --impure flag recommendation was a bit frightening for a first contact the first times, IIRC.

Now I have humbly accepted that fatally depending on external source file makes a home-manager derivation impure

I feel dirty everytime I compile homemanager... and it even keeps me telling my git trees are dirty because I don't commit everything :-(

Except those oppressive passive aggressive constant reminders :-) it is rather nice to use, and do feel like like an additional security safety net to my system

thanks #nixos #nix

Antwortete im Thread

@abbra Sorry for the late reply, missed your toot.

Is there really no way to create a directory at runtime anymore? Creating and maintaining a container image where the only difference is a symlink seems a little tedious.

I already tried tmpfiles.d, but either I did it wrong or it runs too late in the boot process and the root filesystem is already read-only...

#fedora#composefs#kinoite

So, for various reasons (professional verses personal), I don't set my global user name or email in Git. Instead, I have NixOS and Home Manager set up to give me a git command:

  home-manager.users.dmoonfire =
    { pkgs, config, ... }:
    {
      home.packages = [
        (pkgs.writeShellScriptBin "git-moonfire" ''
          git config user.name "D. Moonfire"
          git config user.email "contact@moonfire.us"
          git config core.sshCommand 'ssh -i ~/.ssh/moonfire-rsa'
        '')
    };

That way, I can easily call this with:

git clone https://some...path/
git moonfire
git commit -am 'feat: everything is awesome'

I have to agree with @thelinuxEXP about Firefox. We've given them a pass too often. So today I've replaced Firefox 🦊 with Librewolf 🐺

Luckily I manage my configuration and extension with Nix Home manager, so I just had to change a single line in order to make Librewolf my default browser with the same extensions and plugins applied 😎

youtu.be/Rc96ISKh2OM?si=TBp5kb

youtu.be- YouTubeAuf YouTube findest du die angesagtesten Videos und Tracks. Außerdem kannst du eigene Inhalte hochladen und mit Freunden oder gleich der ganzen Welt teilen.
#NixOS#HomeManager#Linux

Many years I have tried building systems that allow me to declare&deploy #Thunar custom actions (context menu entries) - something they aren't really designed for.

From merging complex templates into the user config (1,2&image) to diving deeper with an entire #Python plugin system (3) I think the best solution is now #nix/ #homeManager 🏠. Here (4) is my current approach.

(4) gitlab.com/nobodyinperson/nixc
(1) forum.xfce.org/viewtopic.php?i
(2) gitlab.com/nobodyinperson/thun
(3) gitlab.com/nobodyinperson/thun