diff options
| -rw-r--r-- | home/ebisu/fortune/nix/rui.nix | 4 | ||||
| -rw-r--r-- | home/ebisu/fortune/system/variables.nix | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/home/ebisu/fortune/nix/rui.nix b/home/ebisu/fortune/nix/rui.nix index 231dc24..5abc038 100644 --- a/home/ebisu/fortune/nix/rui.nix +++ b/home/ebisu/fortune/nix/rui.nix @@ -1,6 +1,8 @@ { config, flakeDirectory, + lib, + pkgs, ... }: { @@ -9,7 +11,7 @@ settings = { notify = true; - editor = "zeditor"; + editor = "${lib.getExe pkgs.zed-editor}"; flake = "${config.home.homeDirectory}/${flakeDirectory}"; # notifier = "${lib.getExe ( diff --git a/home/ebisu/fortune/system/variables.nix b/home/ebisu/fortune/system/variables.nix index e8261da..6ed9b22 100644 --- a/home/ebisu/fortune/system/variables.nix +++ b/home/ebisu/fortune/system/variables.nix @@ -2,6 +2,7 @@ pkgs, config, flakeDirectory, + lib, ... }: { @@ -15,7 +16,7 @@ TERMINAL = "kitty"; TERMINAL_PROG = "kitty"; BROWSER = "zen"; - FLAKE_EDITOR = "zeditor"; + FLAKE_EDITOR = "${lib.getExe pkgs.zed-editor}"; # Home directory clean-up # https://github.com/NixOS/nixpkgs/issues/224525#issuecomment-1945290961 |