summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-29 23:56:22 -0700
committerFuwn <[email protected]>2024-09-29 23:56:35 -0700
commit83b32e7821d270bea663ad5f4d5ef626b8fc8f74 (patch)
tree234d523b19be792037edb4fc13ed2372be911372
parenthome: removed unused username binding (diff)
downloadnixos-config-83b32e7821d270bea663ad5f4d5ef626b8fc8f74.tar.xz
nixos-config-83b32e7821d270bea663ad5f4d5ef626b8fc8f74.zip
ebisu: absolute flake editor path
-rw-r--r--home/ebisu/fortune/nix/rui.nix4
-rw-r--r--home/ebisu/fortune/system/variables.nix3
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