restore hyprland dotfiles from backups
This commit is contained in:
parent
5dc6c8a77c
commit
4dd1504a4c
12 changed files with 397 additions and 30 deletions
|
|
@ -1,20 +1,18 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
dots = "${config.home.homeDirectory}/nixos-config/dotfiles";
|
||||
link = config.lib.file.mkOutOfStoreSymlink;
|
||||
in
|
||||
{
|
||||
# dotfiles pour inkscape (fichier dimensionné pour LaTeX)
|
||||
xdg.configFile = {
|
||||
"inkscape/templates".source =
|
||||
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos-config/dotfiles/inkscape/templates";
|
||||
"inkscape/palettes".source =
|
||||
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos-config/dotfiles/inkscape/palettes";
|
||||
}; # dotfiles pour Rofi
|
||||
xdg.configFile."rofi".source =
|
||||
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos-config/dotfiles/rofi";
|
||||
# dotfiles pour hyprland
|
||||
xdg.configFile."hypr".source =
|
||||
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos-config/dotfiles/hypr";
|
||||
# dotfiles nvim
|
||||
xdg.configFile."nvim".source =
|
||||
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos-config/dotfiles/nvim";
|
||||
"inkscape/templates".source = link "${dots}/inkscape/templates";
|
||||
"inkscape/palettes".source = link "${dots}/inkscape/palettes";
|
||||
"rofi".source = link "${dots}/rofi";
|
||||
"nvim".source = link "${dots}/nvim";
|
||||
};
|
||||
|
||||
# hypr/conf est un symlink hors-store : utilise home.file, pas xdg.configFile
|
||||
home.file.".config/hypr/conf".source = link "${dots}/hypr/conf";
|
||||
}
|
||||
|
||||
# xdg.configFile."i3blocks/config".source = ./i3blocks.conf;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue