From e0dd2803b04c6e8f49cf8de408d6da9cca310f93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Wed, 25 Jan 2023 10:17:26 -0300 Subject: [PATCH] fish: move to dedicated dir --- user/{fish.nix => fish/default.nix} | 4 ++-- user/{ => fish}/fish_prompt.fish | 0 user/home.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename user/{fish.nix => fish/default.nix} (96%) rename user/{ => fish}/fish_prompt.fish (100%) diff --git a/user/fish.nix b/user/fish/default.nix similarity index 96% rename from user/fish.nix rename to user/fish/default.nix index f661986..0597b69 100644 --- a/user/fish.nix +++ b/user/fish/default.nix @@ -66,8 +66,8 @@ in { direnv.enable = true; direnv.nix-direnv.enable = true; }; - home.file = { - ".config/fish/conf.d/prompt.fish".source = ./fish_prompt.fish; + xdg.configFile = { + "fish/conf.d/prompt.fish".source = ./fish_prompt.fish; }; # programs.command-not-found.enable = true; programs.nix-index.enable = true; diff --git a/user/fish_prompt.fish b/user/fish/fish_prompt.fish similarity index 100% rename from user/fish_prompt.fish rename to user/fish/fish_prompt.fish diff --git a/user/home.nix b/user/home.nix index 586ce93..e41420e 100644 --- a/user/home.nix +++ b/user/home.nix @@ -4,7 +4,7 @@ ./waybar.nix ./helix.nix ./kakoune.nix - ./fish.nix + ./fish ./firefox.nix ./hyprland.nix ./alacritty.nix