diff --git a/users/erwin/home.nix b/users/erwin/home.nix index 40c66d6..a190e9e 100644 --- a/users/erwin/home.nix +++ b/users/erwin/home.nix @@ -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; diff --git a/users/erwin/work.nix b/users/erwin/work.nix index 9114e20..0d268d9 100644 --- a/users/erwin/work.nix +++ b/users/erwin/work.nix @@ -43,12 +43,10 @@ let let output = if name == "right" then "DP-1" else "DP-3"; in - builtins.map - (ws: { - inherit output; - workspace = toString ws; - }) - workspaces + builtins.map (ws: { + inherit output; + workspace = toString ws; + }) 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;