mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-09 02:21:05 +01:00
treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
This commit is contained in:
parent
5df48c4255
commit
cba2f9ce95
1051 changed files with 37028 additions and 26594 deletions
|
|
@ -6,15 +6,21 @@
|
|||
emacs = pkgs.writeShellScriptBin "dummy-emacs-28.2" "" // {
|
||||
outPath = "@emacs@";
|
||||
};
|
||||
emacsPackagesFor = _:
|
||||
lib.makeScope super.newScope (_: { emacsWithPackages = _: emacs; });
|
||||
emacsPackagesFor =
|
||||
_:
|
||||
lib.makeScope super.newScope (_: {
|
||||
emacsWithPackages = _: emacs;
|
||||
});
|
||||
})
|
||||
];
|
||||
|
||||
programs.emacs.enable = true;
|
||||
services.emacs.enable = true;
|
||||
services.emacs.client.enable = true;
|
||||
services.emacs.extraOptions = [ "-f" "exwm-enable" ];
|
||||
services.emacs.extraOptions = [
|
||||
"-f"
|
||||
"exwm-enable"
|
||||
];
|
||||
services.emacs.startWithUserSession = "graphical";
|
||||
|
||||
nmt.script = ''
|
||||
|
|
@ -24,12 +30,10 @@
|
|||
|
||||
assertFileContent \
|
||||
home-files/.config/systemd/user/emacs.service \
|
||||
${
|
||||
pkgs.substituteAll {
|
||||
inherit (pkgs) runtimeShell;
|
||||
src = ./emacs-service-emacs-after-graphical-session-target.service;
|
||||
}
|
||||
}
|
||||
${pkgs.substituteAll {
|
||||
inherit (pkgs) runtimeShell;
|
||||
src = ./emacs-service-emacs-after-graphical-session-target.service;
|
||||
}}
|
||||
|
||||
assertFileContent \
|
||||
home-path/share/applications/emacsclient.desktop \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue