Set default editor

This commit is contained in:
Erwin Boskma 2024-03-11 17:51:52 +01:00
parent 2026cc9248
commit 964eb2d6a1
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk
2 changed files with 10 additions and 10 deletions

View file

@ -177,9 +177,11 @@ in
home = {
username = "erwin";
homeDirectory = "/home/erwin";
sessionVariables = { };
sessionVariables = {
EDITOR = "${config.home-manager.users.erwin.eboskma.programs.emacs.package}/bin/emacsclient -c";
};
stateVersion = "21.11";
stateVersion = "24.05";
packages =
with pkgs;

View file

@ -43,12 +43,10 @@ let
let
output = if name == "right" then "DP-1" else "DP-3";
in
builtins.map
(ws: {
builtins.map (ws: {
inherit output;
workspace = toString ws;
})
workspaces
}) workspaces
)
(builtins.partition (n: (trivial.mod n 2) != 0) (lists.range 1 10))
@ -233,9 +231,9 @@ in
username = "erwin";
homeDirectory = "/home/erwin";
sessionVariables = {
# EDITOR = "${config.home-manager.users.erwin.eboskma.programs.emacs.package}/bin/emacsclient -c";
EDITOR = "${config.home-manager.users.erwin.eboskma.programs.emacs.package}/bin/emacsclient -c";
};
stateVersion = "22.11";
stateVersion = "24.05";
packages =
with pkgs;