literate-config

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 35a87fce3535b9f9b1e57118ee6d0fe51480bd30
parent 7f4ed33bc6de8c9cebebab7b33c9dc3da671dbd9
Author: Crazazy <crazazy@tilde.cafe>
Date:   Mon, 31 Jan 2022 13:07:13 +0100

final set of fixes

Diffstat:
Memacs.org | 7++-----
Mnixos.org | 2+-
2 files changed, 3 insertions(+), 6 deletions(-)

diff --git 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 @@ -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}";