formatted everything, things are looking nice now.

This commit is contained in:
Charlie Root 2024-05-15 00:14:59 +02:00
commit d2d4054aa5
57 changed files with 2269 additions and 2311 deletions

View file

@ -1,22 +1,23 @@
{ config, lib, pkgs, inputs, ... }:
with lib; let
cfg = config.modules.programs.emacs;
username = config.modules.other.system.username;
in {
options.modules.programs.emacs.enable = mkEnableOption "emacs";
with lib;
let
cfg = config.modules.programs.emacs;
username = config.modules.other.system.username;
in {
options.modules.programs.emacs.enable = mkEnableOption "emacs";
config = mkIf cfg.enable {
home-manager.users.${username} = {
programs.doom-emacs = {
enable = true;
extraConfig = ''
(setq standard-indent 2)
(require 'evil)
(evil-mode 1)
'';
doomPrivateDir = ./doom.d;
};
};
config = mkIf cfg.enable {
home-manager.users.${username} = {
programs.doom-emacs = {
enable = true;
extraConfig = ''
(setq standard-indent 2)
(require 'evil)
(evil-mode 1)
'';
doomPrivateDir = ./doom.d;
};
};
};
}
}