From 7528473bb3ab8abb8d9804e30b3ee66f02c89e43 Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Tue, 2 Jul 2024 14:31:10 +0200 Subject: [PATCH] Add zoxide; Refactor module imports for HM --- home/default.nix | 13 +------------ home/modules/default.nix | 23 +++++++++++++++++++++++ home/modules/zoxide.nix | 11 +++++++++++ 3 files changed, 35 insertions(+), 12 deletions(-) create mode 100644 home/modules/default.nix create mode 100644 home/modules/zoxide.nix diff --git a/home/default.nix b/home/default.nix index d40b12b..9f424c1 100644 --- a/home/default.nix +++ b/home/default.nix @@ -6,18 +6,7 @@ ... }: { imports = [ - ./modules/nixvim.nix - ./modules/shell.nix - ./modules/firefox.nix - ./modules/wm.nix - ./modules/gtk.nix - ./modules/qt.nix - ./modules/home-pkgs.nix - ./modules/git.nix - ./modules/rofi.nix - ./modules/spicetify.nix - ./modules/yazi.nix - #./modules/ssh.nix + ./modules ]; home.username = "xqtc"; home.homeDirectory = "/home/xqtc"; diff --git a/home/modules/default.nix b/home/modules/default.nix new file mode 100644 index 0000000..d4e428b --- /dev/null +++ b/home/modules/default.nix @@ -0,0 +1,23 @@ +{ + config, + pkgs, + lib, + inputs, + ... +}: { + imports = [ + ./nixvim.nix + ./shell.nix + ./firefox.nix + ./wm.nix + ./gtk.nix + ./qt.nix + ./home-pkgs.nix + ./git.nix + ./rofi.nix + ./spicetify.nix + ./yazi.nix + ./zoxide.nix + #./ssh.nix + ]; +} diff --git a/home/modules/zoxide.nix b/home/modules/zoxide.nix new file mode 100644 index 0000000..54abcbc --- /dev/null +++ b/home/modules/zoxide.nix @@ -0,0 +1,11 @@ +{ + config, + lib, + inputs, + ... +}: { + programs.zoxide = { + enable = true; + enableNushellIntegration = true; + }; +}