-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
bugtriageIssues or feature request that have not been triaged yetIssues or feature request that have not been triaged yet
Description
Are you following the right branch?
- My Nixpkgs and Home Manager versions are in sync
Is there an existing issue for this?
- I have searched the existing issues
Issue description
with the latest flake update and running home-manager switch, I get
Please do one of the following:
- In standalone mode, use 'home-manager switch -b backup' to back up files automatically.
- When used as a NixOS or nix-darwin module, set either
- 'home-manager.backupFileExtension', or
- 'home-manager.backupCommand',
to move the file to a new location in the same directory, or run a custom command.
- Set 'force = true' on the related file options to forcefully overwrite the files below. eg. 'xdg.configFile."mimeapps.list".force = true'
Existing file '/home/lorenz/.config/nvim/init.lua' would be clobbered
I'm using home-manager almost exclusively to install packages into my user environment. I don't want to manage nvim's init.lua or any other config file with it. The config related to neovim in my flake is:
programs.neovim = {
enable = true;
plugins = with pkgs.vimPlugins; [
haskell-tools-nvim
telescope-nvim
which-key-nvim
(nvim-treesitter.withPlugins (plugins: with plugins; [
c lua python rust haskell bash
]))
plenary-nvim # dependency of telescope
];
};
Up until now, it did what I expected: Install a neovim with the given plugins, but let me manage my own init.lua. Somehow this now changed.
Maintainer CC
System information
- system: `"x86_64-linux"`
- host os: `Linux 6.18.18, NixOS, 26.05 (Yarara), 26.05.20260318.b40629e`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.31.3`
- channels(root): `"nixos"`
- nixpkgs: `/nix/store/ap9dpkyzikzzh04259wlsvha2mw455x4-source`Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugtriageIssues or feature request that have not been triaged yetIssues or feature request that have not been triaged yet