Set default editor
This commit is contained in:
parent
2026cc9248
commit
964eb2d6a1
2 changed files with 10 additions and 10 deletions
|
@ -177,9 +177,11 @@ in
|
||||||
home = {
|
home = {
|
||||||
username = "erwin";
|
username = "erwin";
|
||||||
homeDirectory = "/home/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 =
|
packages =
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|
|
@ -43,12 +43,10 @@ let
|
||||||
let
|
let
|
||||||
output = if name == "right" then "DP-1" else "DP-3";
|
output = if name == "right" then "DP-1" else "DP-3";
|
||||||
in
|
in
|
||||||
builtins.map
|
builtins.map (ws: {
|
||||||
(ws: {
|
inherit output;
|
||||||
inherit output;
|
workspace = toString ws;
|
||||||
workspace = toString ws;
|
}) workspaces
|
||||||
})
|
|
||||||
workspaces
|
|
||||||
)
|
)
|
||||||
|
|
||||||
(builtins.partition (n: (trivial.mod n 2) != 0) (lists.range 1 10))
|
(builtins.partition (n: (trivial.mod n 2) != 0) (lists.range 1 10))
|
||||||
|
@ -233,9 +231,9 @@ in
|
||||||
username = "erwin";
|
username = "erwin";
|
||||||
homeDirectory = "/home/erwin";
|
homeDirectory = "/home/erwin";
|
||||||
sessionVariables = {
|
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 =
|
packages =
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|
Loading…
Reference in a new issue