mirror of
https://github.com/itme-brain/nixos.git
synced 2026-05-08 14:50:12 -04:00
Compare commits
4 commits
5287411131
...
f1b1f03ae3
| Author | SHA1 | Date | |
|---|---|---|---|
| f1b1f03ae3 | |||
| d89ae55472 | |||
| 6448224366 | |||
| a5e0bef85c |
3 changed files with 6 additions and 3 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.modules.user.neovim;
|
cfg = config.modules.user.neovim;
|
||||||
|
nvimConfigPath = "${config.home.homeDirectory}/nixos/user/modules/neovim/nvim";
|
||||||
|
|
||||||
in
|
in
|
||||||
{ options.modules.user.neovim = { enable = mkEnableOption "user.neovim"; };
|
{ options.modules.user.neovim = { enable = mkEnableOption "user.neovim"; };
|
||||||
|
|
@ -31,7 +32,9 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
home.file.".config/nvim" = {
|
home.file.".config/nvim" = {
|
||||||
source = config.lib.file.mkOutOfStoreSymlink ./nvim;
|
# Keep Neovim's config writable. In a flake, `./nvim` is copied into
|
||||||
|
# /nix/store before Home Manager can create an out-of-store symlink.
|
||||||
|
source = config.lib.file.mkOutOfStoreSymlink nvimConfigPath;
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 376b9c5c16b9d8b121b73516219082e57b397bc9
|
Subproject commit 87403b7d6fdc8b71da8d5d9b2f81f62e0e587006
|
||||||
|
|
@ -4,7 +4,7 @@ with lib;
|
||||||
let
|
let
|
||||||
cfg = config.modules.user.pi;
|
cfg = config.modules.user.pi;
|
||||||
npmGlobal = "${config.home.homeDirectory}/.npm-global";
|
npmGlobal = "${config.home.homeDirectory}/.npm-global";
|
||||||
piVersion = "0.70.5";
|
piVersion = "0.72.0";
|
||||||
|
|
||||||
in
|
in
|
||||||
{ options.modules.user.pi = { enable = mkEnableOption "user.pi"; };
|
{ options.modules.user.pi = { enable = mkEnableOption "user.pi"; };
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue