diff options
| author | Fuwn <[email protected]> | 2024-09-29 23:56:22 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-29 23:56:35 -0700 |
| commit | 83b32e7821d270bea663ad5f4d5ef626b8fc8f74 (patch) | |
| tree | 234d523b19be792037edb4fc13ed2372be911372 | |
| parent | home: removed unused username binding (diff) | |
| download | nixos-config-83b32e7821d270bea663ad5f4d5ef626b8fc8f74.tar.xz nixos-config-83b32e7821d270bea663ad5f4d5ef626b8fc8f74.zip | |
ebisu: absolute flake editor path
| -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 |