refactor: move nvf into home-editor.nix

This commit is contained in:
Mohammad Rafiq 2025-02-28 05:28:14 +08:00
parent e727f25804
commit 329516eda4
3 changed files with 19 additions and 5 deletions

7
modules/home-editor.nix Normal file
View file

@ -0,0 +1,7 @@
{self, pkgs, ...}:
{
home.packages = [
self.packages.${pkgs.stdenv.system}.nvf
];
}

View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
kitty # default terminal emulator for hyprland
];
}

View file

@ -2,10 +2,11 @@
{ {
imports = [ imports = [
../../modules/home-git.nix ../../modules/home-git.nix # git specific configs
../../modules/home-tmux.nix ../../modules/home-tmux.nix # tmux specific configs (might move this)
../../modules/home-sh.nix ../../modules/home-sh.nix # bash and other shell specific configs
../../modules/home-wm.nix ../../modules/home-wm.nix # window manager configs
../../modules/home-editor.nix # editor specific configs
]; ];
home = { home = {
@ -13,7 +14,6 @@
homeDirectory = "/home/rafiq"; homeDirectory = "/home/rafiq";
packages = [ packages = [
self.packages.${pkgs.stdenv.system}.nvf
pkgs.kitty pkgs.kitty
pkgs.fastfetch pkgs.fastfetch
pkgs.wl-clipboard pkgs.wl-clipboard