20 lines
412 B
Nix
20 lines
412 B
Nix
desktop: {
|
|
pkgs,
|
|
nix-neovim,
|
|
...
|
|
}: let
|
|
myNeovim = nix-neovim.buildNeovim {
|
|
configuration = import ./configuration.nix desktop;
|
|
inherit pkgs;
|
|
};
|
|
in {
|
|
home.packages = [
|
|
myNeovim
|
|
];
|
|
|
|
systemd.user.tmpfiles.rules = [
|
|
"d %h/.cache/nvim/undo-files 0700 %u %g mM:1w -"
|
|
"d %h/.cache/nvim/swap-files 0700 %u %g mM:1w -"
|
|
"d %h/.cache/nvim/backup-files 0700 %u %g mM:1w -"
|
|
];
|
|
}
|