Allow using global config with hm and nixos (#48)

* remove useless nixvim file

* reorganize flake outputs

* use global config file with home-manager and nixos
This commit is contained in:
Luc Chabassier 2022-10-17 15:08:17 +02:00 committed by GitHub
parent 931db3e83f
commit f2a103da30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 146 additions and 355 deletions

13
wrappers/standalone.nix Normal file
View file

@ -0,0 +1,13 @@
pkgs: modules: configuration:
let
inherit (pkgs) lib;
wrap = { wrapRc = true; };
eval = lib.evalModules {
modules = modules ++ [ { config = configuration; } wrap ];
};
in eval.config.finalPackage