From c83a32c1f2dd1c4d207337b96a19739282fdfb74 Mon Sep 17 00:00:00 2001 From: MatthiasBenaets Date: Sat, 30 Apr 2022 19:04:39 +0200 Subject: [PATCH] alacritty / doom emacs / logo --- darwin/home.nix | 19 +++- flake.nix | 6 +- rsc/Header.svg | 273 ++++++++++++++++++++++++++++-------------------- 3 files changed, 181 insertions(+), 117 deletions(-) diff --git a/darwin/home.nix b/darwin/home.nix index 0485273c..162df279 100644 --- a/darwin/home.nix +++ b/darwin/home.nix @@ -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 @@ -20,6 +26,10 @@ }; programs = { + doom-emacs = { + enable = true; + doomPrivateDir = ../modules/editors/emacs/doom.d; + }; alacritty = { # Terminal Emulator enable = true; }; @@ -85,5 +95,12 @@ nmap :NERDTreeToggle " F6 opens NERDTree ''; }; + + services = { + emacs = { + enable = true; + package = nix-doom-emacs; + }; + }; }; } diff --git a/flake.nix b/flake.nix index c055246f..feade788 100644 --- a/flake.nix +++ b/flake.nix @@ -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 ... @@ -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; } ); diff --git a/rsc/Header.svg b/rsc/Header.svg index 3c8b41eb..93e00655 100644 --- a/rsc/Header.svg +++ b/rsc/Header.svg @@ -19,6 +19,38 @@ xmlns:dc="http://purl.org/dc/elements/1.1/"> + + + + + + + + + + + + + transform="translate(-132.5822,958.04022)"> + style="display:inline"> + style="font-size:125px;line-height:1.25;font-family:Verdana;-inkscape-font-specification:'Verdana, Normal';display:inline;fill:url(#linearGradient19402);fill-opacity:1;stroke:#000000;stroke-width:5.34313;stroke-miterlimit:4;stroke-dasharray:none"> + + + + + + + + + + + + + + + style="display:inline"> + style="font-size:37.5px;line-height:1.25;letter-spacing:-4.125px;word-spacing:0px;display:inline;fill:#ffffff;stroke:#000000;stroke-width:6.4325002;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"> @@ -311,44 +409,43 @@ inkscape:label="NixOS" id="g5329" inkscape:groupmode="layer" - transform="translate(-132.5822,958.04022)" - sodipodi:insensitive="true"> + transform="translate(-132.5822,958.04022)"> + transform="matrix(0.76418596,-0.00126941,0.00126397,0.75786413,44.32118,-226.56494)"> + transform="matrix(0.76418596,-0.00126941,0.00126397,0.75786413,84.34169,-197.08916)"> - - - - - - - - - - - - - - + style="display:inline"> Matthias' + id="tspan22591">Matthias' System Configuration Flake + y="499.5232" + id="tspan22597">System Configuration Flake