diff --git a/krops.nix b/krops.nix index 69fb0e7..11c688f 100644 --- a/krops.nix +++ b/krops.nix @@ -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 \ diff --git a/system/desktop/home-manager/doom-emacs.nix b/system/desktop/home-manager/doom-emacs.nix index fe29da1..1db016b 100644 --- a/system/desktop/home-manager/doom-emacs.nix +++ b/system/desktop/home-manager/doom-emacs.nix @@ -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 ]; }