Home Gen11 @ 2025-10-21-16:04 by admin-jroeger@T14-OE130-7-ubuntu
This commit is contained in:
parent
72bd0887b4
commit
38966c5b27
@ -1,4 +1,4 @@
|
|||||||
{...}: {
|
{lib, ...}: {
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
# manage.
|
# manage.
|
||||||
home.username = "admin-jroeger";
|
home.username = "admin-jroeger";
|
||||||
@ -12,6 +12,7 @@
|
|||||||
hive.nix-scripts.enable = true;
|
hive.nix-scripts.enable = true;
|
||||||
hive.zsh.enable = true;
|
hive.zsh.enable = true;
|
||||||
hive.doom.enable = true;
|
hive.doom.enable = true;
|
||||||
|
hive.doom.asDefaultEditor = true;
|
||||||
hive.doom.enableCopilot = true;
|
hive.doom.enableCopilot = true;
|
||||||
hive.doom.withNixPkgs = true;
|
hive.doom.withNixPkgs = true;
|
||||||
hive.doom.withShellPkgs = true;
|
hive.doom.withShellPkgs = true;
|
||||||
@ -27,7 +28,7 @@
|
|||||||
home.stateVersion = "24.11"; # Please read the comment before changing.
|
home.stateVersion = "24.11"; # Please read the comment before changing.
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "vim";
|
EDITOR = lib.mkDefault "vim";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
|
|||||||
@ -166,6 +166,7 @@ in {
|
|||||||
// lib.optionalAttrs cfg.asDefaultEditor {
|
// lib.optionalAttrs cfg.asDefaultEditor {
|
||||||
EDITOR = "${doom-open}";
|
EDITOR = "${doom-open}";
|
||||||
};
|
};
|
||||||
|
packages = doom-pkgs ++ lib.optional cfg.asDefaultEditor doom-open;
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.doom-emacs-server = {
|
systemd.user.services.doom-emacs-server = {
|
||||||
@ -261,6 +262,5 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
home.packages = doom-pkgs;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user