2023-04-13 06:57:08 +00:00
|
|
|
desktop: {
|
|
|
|
pkgs,
|
|
|
|
nix-neovim,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
myNeovim = nix-neovim.buildNeovim {
|
|
|
|
configuration = import ./configuration.nix desktop;
|
|
|
|
inherit pkgs;
|
|
|
|
};
|
|
|
|
in {
|
|
|
|
home.packages = [
|
|
|
|
myNeovim
|
|
|
|
];
|
|
|
|
|
|
|
|
systemd.user.tmpfiles.rules = [
|
2023-04-15 09:03:54 +00:00
|
|
|
"d %h/.cache/nvim/undo-files 0700 - - mM:1w -"
|
|
|
|
"d %h/.cache/nvim/swap-files 0700 - - mM:1w -"
|
|
|
|
"d %h/.cache/nvim/backup-files 0700 - - mM:1w -"
|
2023-04-13 06:57:08 +00:00
|
|
|
];
|
|
|
|
}
|