home-manager icon indicating copy to clipboard operation
home-manager copied to clipboard

bug: atuin default config in the way of home-manager generated one

Open iMarv opened this issue 6 months ago • 0 comments

Are you following the right branch?

  • [X] My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • [X] I have searched the existing issues

Issue description

Hey,

I am trying to install the atuin package in a flake-based nixos setup. This works out well, until I try to configure custom settings .

Home manager fails to start, journalctl telling me that there is already an atuin config file in the way of what home manager is trying to create. I have deleted this file manually, but it seems to be recreated whenever I rebuild nixos and try to switch to the flake. The file itself looks like a dummy that atuin itself generates. A short search through the atuin changelog does not suggest that this is new behavior, so I am a bit lost on what may have caused this.

A minimal reproduction would be

programs.atuin = {
  enable = true;
  settings.enter_accept = false;
};

I am relatively new to Nix and NixOs, if you are missing any essential information from me to debug this, I will try to provide it.

Maintainer CC

@hawkw ~~is in the maintainers but does not seem to exist~~ e/ I stand corrected, github just did not suggest a user in the dropdown, sorry! @rycee added the aformentioned user to the maintainers

System information

- system: `"x86_64-linux"`
 - host os: `Linux 6.6.44, NixOS, 24.05 (Uakari), 24.05.20240806.21cc704`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - nixpkgs: `/nix/store/pi3i4rcxl8iadwxpyyx481ycnyxm856b-source`

iMarv avatar Aug 14 '24 19:08 iMarv