Robert Helgesson

Results 205 comments of Robert Helgesson

I would recommend using Nix features instead, using a dag is overkill in this case. For example, something like ``` localVariables = let FZF_CTRL_R_PREVIEW = "whatever"; in { inherit FZF_CTRL_R_PREVIEW;...

Thanks! This seems quite nice! The `gvariant` type needs to be updated as well, though: https://github.com/nix-community/home-manager/blob/95559181518533741c516826ae377a51814569c3/modules/lib/types.nix#L68-L104 I'm not entirely certain how best to define it but I imagine `mergeOneOption` should...

Thanks! Looks good. Merged to master now ๐Ÿ™‚

I guess this is a hacky but not entirely awful work around ๐Ÿ™‚ I definitely would prefer to see this fixed in Nix, though. Probably related to https://github.com/NixOS/nix/issues/6349.

Just noticed, the commit message will have to be fixed. In particular to comply with [Limit the subject line to 50 characters](https://cbea.ms/git-commit/#limit-50). Can for example use > home-manager: fix activation...

Instead of extraConfig = '' { XDG_PROJECTS_DIR = "${config.home.homeDirectory}/projects"; XDG_GAMES_DIR = "${config.home.homeDirectory}/games"; } ''; try extraConfig = { XDG_PROJECTS_DIR = "${config.home.homeDirectory}/projects"; XDG_GAMES_DIR = "${config.home.homeDirectory}/games"; };

I don't have any particular input but if the Applications directory symlinks into a nix-darwin generation, wouldn't it be safe to delete it before the `mkdir` line?

Could you share the output of ```console $ ls ~/.nix-profile/share/applications ``` ?

Oh, about IFD. I have nothing against it and use it all the time. The main concern would be performance and clarity. So in HM I would avoid using it...

Yep, good work! Btw, does the test build for you? I seem to get an error > FileNotFoundError: [Errno 2] No such file or directory: '/nix/store/dikbik0phcq4lf7al6s1g6imcx2grfqs-broot-1.15.0.tar.gz/resources/default-conf.hjson'