Skip to content

Commit

Permalink
alacritty / doom emacs / logo
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasBenaets committed Apr 30, 2022
1 parent 161cb2d commit c83a32c
Show file tree
Hide file tree
Showing 3 changed files with 181 additions and 117 deletions.
19 changes: 18 additions & 1 deletion darwin/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@
# └─ ./home.nix *
#

{ pkgs, ... }:
{ pkgs, nix-doom-emacs, ... }:

{
imports =
[
../modules/apps/alacritty.nix
nix-doom-emacs.hmModule
];

home = { # Specific packages for macbook
packages = with pkgs; [
# Terminal
Expand All @@ -20,6 +26,10 @@
};

programs = {
doom-emacs = {
enable = true;
doomPrivateDir = ../modules/editors/emacs/doom.d;
};
alacritty = { # Terminal Emulator
enable = true;
};
Expand Down Expand Up @@ -85,5 +95,12 @@
nmap <F6> :NERDTreeToggle<CR> " F6 opens NERDTree
'';
};

services = {
emacs = {
enable = true;
package = nix-doom-emacs;
};
};
};
}
6 changes: 4 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@
url = "github:lnl7/nix-darwin/master"; # MacOS Packages
inputs.nixpkgs.follows = "nixpkgs";
};

nix-doom-emacs.url = "github:vlaci/nix-doom-emacs";
};

outputs = inputs @ { self, nixpkgs, home-manager, darwin, ... }: # Function that tells my flake which to use and what do what to do with the dependencies.
outputs = inputs @ { self, nixpkgs, home-manager, darwin, nix-doom-emacs, ... }: # Function that tells my flake which to use and what do what to do with the dependencies.
let # Variables that can be used in the config files.
user = "matthias";
in # Use above variables in ...
Expand All @@ -50,7 +52,7 @@
darwinConfigurations = ( # Location of the available darwin configurations
import ./darwin {
inherit (nixpkgs) lib;
inherit inputs user nixpkgs home-manager darwin;
inherit inputs user nixpkgs home-manager darwin nix-doom-emacs;
}
);

Expand Down
Loading

0 comments on commit c83a32c

Please sign in to comment.