Use a wayland-native emacs

This commit is contained in:
Charlotte Van Petegem 2021-03-17 10:16:42 +01:00
parent e12fe5e8d0
commit dcff0e0ed1
No known key found for this signature in database
GPG key ID: 019E764B7184435A
4 changed files with 38 additions and 16 deletions

View file

@ -12,6 +12,7 @@
home-manager.users.charlotte = { ... }: {
programs.emacs = {
enable = true;
package = pkgs.emacsPgtkGcc;
init = {
enable = true;
prelude = ''

View file

@ -76,7 +76,10 @@ in
dates = [ "hourly" ];
};
trustedUsers = [ "@wheel" ];
extraOptions = (lib.optionalString config.chvp.nix.enableDirenv ''
extraOptions = ''
substituters = https://cache.nixos.org https://nix-community.cachix.org
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
'' + (lib.optionalString config.chvp.nix.enableDirenv ''
keep-outputs = true
keep-derivations = true
'') + (lib.optionalString config.chvp.nix.enableFlakes ''