diff options
| -rw-r--r-- | emacs.org | 7 | ||||
| -rw-r--r-- | nixos.org | 2 | 
2 files changed, 3 insertions, 6 deletions
@@ -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 @@ -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}";  | 
