Make Emacs the default for plaintext files
This commit is contained in:
parent
ea5ca4f856
commit
b392b42762
|
@ -127,6 +127,16 @@ in
|
|||
client.enable = true;
|
||||
};
|
||||
|
||||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications = {
|
||||
"application/text" = "emacsclient.desktop";
|
||||
"application/textedit" = "emacsclient.desktop";
|
||||
"text/anytext" = "emacsclient.desktop";
|
||||
"text/plain" = "emacsclient.desktop";
|
||||
};
|
||||
};
|
||||
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
bashrcExtra = ''
|
||||
|
|
Loading…
Reference in New Issue