1
0
Fork 0
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:
Austin Horstman 2025-04-07 16:11:29 -05:00
parent 5df48c4255
commit cba2f9ce95
1051 changed files with 37028 additions and 26594 deletions

View file

@ -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 \