modules: refactoring complete

Hopefully works
This commit is contained in:
vali 2024-07-21 15:32:30 +02:00
commit 873ff746b4
87 changed files with 524 additions and 3085 deletions

View file

@ -5,9 +5,9 @@
inputs,
...
}: let
cfg = config.modules.editors.emacs;
cfg = config.modules.system.programs.editors.emacs;
inherit (config.modules.other.system) username;
inherit (lib) mkEnableOption mkIf;
inherit (lib) mkIf;
newpkgs =
pkgs.appendOverlays
@ -152,10 +152,6 @@
ws-butler
]));
in {
options.modules.editors.emacs = {
enable = mkEnableOption "emacs";
};
config = mkIf cfg.enable {
home-manager.users.${username} = {
home.packages = with pkgs; [