diff options
author | Vincent Ambo <tazjin@tvl.su> | 2023-08-29T14·10+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2023-08-29T15·14+0000 |
commit | d4c8840c575c32247abfc035efb5d2e3830678c1 (patch) | |
tree | 6bff6a0f47d9b403c89d36ee90cc7f1f439ca433 /users/tazjin/nixos/modules/desktop.nix | |
parent | 804b7fbe73152ee19c585f388ad2aaf3cde15134 (diff) |
refactor(tazjin/nixos): pick correct Emacs from a NixOS option r/6537
This gives me the ability to override the Emacs per-machine easily. Change-Id: Id480889c108833b0a11c377a9b1e946900c5aba1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9166 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/nixos/modules/desktop.nix')
-rw-r--r-- | users/tazjin/nixos/modules/desktop.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/users/tazjin/nixos/modules/desktop.nix b/users/tazjin/nixos/modules/desktop.nix index 5ead46fff3c0..aec51f182a37 100644 --- a/users/tazjin/nixos/modules/desktop.nix +++ b/users/tazjin/nixos/modules/desktop.nix @@ -1,5 +1,5 @@ # EXWM and other desktop configuration. -{ depot, lib, pkgs, ... }: +{ config, depot, lib, pkgs, ... }: { services = { @@ -29,7 +29,7 @@ windowManager.session = lib.singleton { name = "exwm"; - start = "${depot.users.tazjin.emacs}/bin/tazjins-emacs"; + start = "${config.tazjin.emacs}/bin/tazjins-emacs"; }; }; }; |