diff --git a/flake.nix b/flake.nix index 53d1348..2454641 100644 --- a/flake.nix +++ b/flake.nix @@ -24,6 +24,12 @@ outputs = inputs@{ self, home-manager, nixpkgs, ... }: let system = "x86_64-linux"; + pkgs = import nixpkgs { + inherit system; + overlays = [ + (import inputs.emacs-overlay) + ]; + }; mkComputer = configurationNix: extraModules: nixpkgs.lib.nixosSystem { inherit system; # Arguments to pass to all modules. @@ -45,10 +51,10 @@ { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; - home-manager.users.srid = import ./home.nix { - inherit inputs system; - pkgs = import nixpkgs { inherit system; }; - }; + home-manager.users.srid = import ./home.nix + { + inherit inputs system pkgs; + }; } ] ++ extraModules ); diff --git a/home.nix b/home.nix index b8e6a29..cff373d 100644 --- a/home.nix +++ b/home.nix @@ -15,6 +15,9 @@ rec { emanote git-crypt + # https://github.com/nix-community/emacs-overlay + emacsPgtkGcc + cachix tig procs # no more: ps -ef | grep @@ -43,7 +46,7 @@ rec { tmux = import ./home/tmux.nix; doom-emacs = { - enable = true; + enable = false; doomPrivateDir = ./config/doom.d; };