fixing emacs

This commit is contained in:
Ingolf Wagner 2021-09-25 15:47:19 +02:00
parent f42f08b5b6
commit 78d39395b7
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 6 additions and 5 deletions

View file

@ -5,7 +5,7 @@ let
command = targetPath:
let
commandLine =
"TMPDIR=/tmp nixos-rebuild build --flake ${targetPath} -L --keep-going";
"TMPDIR=/tmp nixos-rebuild switch --flake ${targetPath} -L --keep-going";
in ''
echo '${commandLine}'
nix-shell \

View file

@ -1,10 +1,11 @@
{ pkgs, ... }: {
home-manager.users.mainUser = {
home.file.".emacs.d/init.el".text = ''
(load "default.el")
'';
programs.doom-emacs = {
enable = true;
doomPrivateDir = ./doom.d;
};
};
environment.systemPackage = [
environment.systemPackages = [
pkgs.ripgrep
];
}