mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-14 16:42:43 +02:00
fix: Error installing file '.config/mako/config' outside $HOME
This commit is contained in:
@@ -20,12 +20,13 @@ let
|
|||||||
configPath = "${config.home.homeDirectory}/nix-config/home/base/tui/editors/neovim/nvim";
|
configPath = "${config.home.homeDirectory}/nix-config/home/base/tui/editors/neovim/nvim";
|
||||||
in {
|
in {
|
||||||
xdg.configFile."nvim".source = config.lib.file.mkOutOfStoreSymlink configPath;
|
xdg.configFile."nvim".source = config.lib.file.mkOutOfStoreSymlink configPath;
|
||||||
|
# Disable catppuccin to avoid conflict with my non-nix config.
|
||||||
|
catppuccin.nvim.enable = false;
|
||||||
|
|
||||||
home.shellAliases = shellAliases;
|
home.shellAliases = shellAliases;
|
||||||
programs.nushell.shellAliases = shellAliases;
|
programs.nushell.shellAliases = shellAliases;
|
||||||
|
|
||||||
programs = {
|
programs.neovim = {
|
||||||
neovim = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs-unstable.neovim-unwrapped;
|
package = pkgs-unstable.neovim-unwrapped;
|
||||||
|
|
||||||
@@ -44,14 +45,20 @@ in {
|
|||||||
"--suffix"
|
"--suffix"
|
||||||
"LIBRARY_PATH"
|
"LIBRARY_PATH"
|
||||||
":"
|
":"
|
||||||
"${lib.makeLibraryPath [stdenv.cc.cc zlib]}"
|
"${lib.makeLibraryPath [
|
||||||
|
stdenv.cc.cc
|
||||||
|
zlib
|
||||||
|
]}"
|
||||||
|
|
||||||
# PKG_CONFIG_PATH is used by pkg-config before compilation to search directories
|
# PKG_CONFIG_PATH is used by pkg-config before compilation to search directories
|
||||||
# containing .pc files that describe the libraries that need to be linked to your program.
|
# containing .pc files that describe the libraries that need to be linked to your program.
|
||||||
"--suffix"
|
"--suffix"
|
||||||
"PKG_CONFIG_PATH"
|
"PKG_CONFIG_PATH"
|
||||||
":"
|
":"
|
||||||
"${lib.makeSearchPathOutput "dev" "lib/pkgconfig" [stdenv.cc.cc zlib]}"
|
"${lib.makeSearchPathOutput "dev" "lib/pkgconfig" [
|
||||||
|
stdenv.cc.cc
|
||||||
|
zlib
|
||||||
|
]}"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Currently we use lazy.nvim as neovim's package manager, so comment this one.
|
# Currently we use lazy.nvim as neovim's package manager, so comment this one.
|
||||||
@@ -70,5 +77,4 @@ in {
|
|||||||
nvim-treesitter.withAllGrammars
|
nvim-treesitter.withAllGrammars
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
force = true;
|
force = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
catppuccin.fcitx5.enable = true;
|
|
||||||
|
|
||||||
i18n.inputMethod = {
|
i18n.inputMethod = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -21,18 +21,22 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
systemd.enable = true;
|
systemd.enable = true;
|
||||||
};
|
};
|
||||||
|
# Disable catppuccin to avoid conflict with my non-nix config.
|
||||||
|
catppuccin.waybar.enable = false;
|
||||||
|
|
||||||
# screen locker
|
# screen locker
|
||||||
programs.hyprlock.enable = true;
|
programs.hyprlock.enable = true;
|
||||||
|
|
||||||
# Logout Menu
|
# Logout Menu
|
||||||
programs.wlogout.enable = true;
|
programs.wlogout.enable = true;
|
||||||
|
catppuccin.wlogout.enable = false;
|
||||||
|
|
||||||
# Hyprland idle daemon
|
# Hyprland idle daemon
|
||||||
services.hypridle.enable = true;
|
services.hypridle.enable = true;
|
||||||
|
|
||||||
# notification daemon, the same as dunst
|
# notification daemon, the same as dunst
|
||||||
services.mako.enable = true;
|
services.mako.enable = true;
|
||||||
|
catppuccin.mako.enable = false;
|
||||||
|
|
||||||
# NOTE:
|
# NOTE:
|
||||||
# We have to enable hyprland/i3's systemd user service in home-manager,
|
# We have to enable hyprland/i3's systemd user service in home-manager,
|
||||||
|
|||||||
Reference in New Issue
Block a user