This commit is contained in:
@@ -25,8 +25,8 @@ let
|
||||
};
|
||||
in
|
||||
{
|
||||
imports = [ inputs.doom-emacs.homeModule ];
|
||||
options.my.emacs.enable = lib.mkEnableOption "Doom Emacs configuration";
|
||||
imports = [ inputs.doom-emacs.homeModule ];
|
||||
config = lib.mkMerge [
|
||||
{
|
||||
my.emacs.enable = lib.mkDefault hm.enabledByDefault;
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
}:
|
||||
let
|
||||
emacs = import ./common.nix {
|
||||
lib = pkgs.lib;
|
||||
inherit pkgs;
|
||||
lib = pkgs.lib;
|
||||
stylixEnabled = false;
|
||||
emacsExtraConfig = "";
|
||||
emacsExtraPackages = _epkgs: [ ];
|
||||
@@ -41,21 +41,21 @@ let
|
||||
../../../modules/home-manager.nix
|
||||
../../../config/home-manager.nix
|
||||
{
|
||||
programs.home-manager.enable = true;
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
home = {
|
||||
username = "portable";
|
||||
homeDirectory = if pkgs.stdenv.isDarwin then "/Users/portable" else "/home/portable";
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
programs.home-manager.enable = true;
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
my = {
|
||||
emacs.enable = true;
|
||||
shell.tools.enable = true;
|
||||
dev = {
|
||||
nix.enable = true;
|
||||
python.enable = true;
|
||||
sh.enable = true;
|
||||
};
|
||||
shell.tools.enable = true;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user