From 35a87fce3535b9f9b1e57118ee6d0fe51480bd30 Mon Sep 17 00:00:00 2001 From: Crazazy Date: Mon, 31 Jan 2022 13:07:13 +0100 Subject: final set of fixes --- emacs.org | 7 ++----- nixos.org | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/emacs.org b/emacs.org index 555c7b0..a1234eb 100644 --- a/emacs.org +++ b/emacs.org @@ -11,13 +11,10 @@ Also, if you just stumbled accross this at random, there is an easy tangle butto do any emacs configuring by ourselves #+begin_src nix :tangle emacs.nix let - sources = import ./nix/sources.nix + sources = import ./nix/sources.nix; in - sources.emacs { configDir = ./emacsconfig; } + import sources.emacs { configDir = ./emacsconfig; } #+end_src - - This file will load in a emacs configuration framework that will take care of all our dependencies. - Kind of like an automatic =(setq use-package-ensure t)= without use having to set that ourselves * Emacs configuring Now the real configuring begins! for some backwards compat purposes I have decided to but different config subjects into different files diff --git a/nixos.org b/nixos.org index 75339bc..52159d3 100644 --- a/nixos.org +++ b/nixos.org @@ -128,7 +128,7 @@ stuff default = "/nix/persist"; }; }; - config = mkIf (config.homeBinds != [ ]) { + config = with lib; mkIf (config.homeBinds != [ ]) { fileSystems = genAttrs (map (loc: "/home/${config.mainUser}/${loc}") config.homeBinds) (loc: { device = "${config.persistRoot}${loc}"; -- cgit 1.4.1-2-gfad0