Manage more dotfiles with Nix
This commit is contained in:
15
nix/modules/dotfiles.nix
Normal file
15
nix/modules/dotfiles.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
# Configuration of dotfile symlinks for programs
|
||||
# not fully manged by home-manager
|
||||
{ config, lib, pkgs, ... }:
|
||||
with config.lib.file;
|
||||
let dotdir = "${config.home.homeDirectory}/.dotfiles";
|
||||
in
|
||||
{
|
||||
xdg.configFile = {
|
||||
"tmux/tmux.conf".source = ../../tmux.conf;
|
||||
"vim/vimrc".source = ../../vimrc;
|
||||
"ideavim/ideavimrc".source = ../../ideavimrc;
|
||||
"kitty".source = mkOutOfStoreSymlink "${dotdir}/kitty";
|
||||
"doom".source = mkOutOfStoreSymlink "${dotdir}/doom";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user