testing
This commit is contained in:
parent
79b5bcbdd2
commit
327f924150
1 changed files with 10 additions and 5 deletions
15
flake.nix
15
flake.nix
|
@ -15,11 +15,16 @@
|
||||||
outputs = { self, nixpkgs, ... } @ inputs:
|
outputs = { self, nixpkgs, ... } @ inputs:
|
||||||
{
|
{
|
||||||
nixosModules = rec {
|
nixosModules = rec {
|
||||||
nixvim-config = { pkgs, ... }:
|
nixvim-config = { config, ... }:
|
||||||
import ./default.nix {
|
let
|
||||||
inherit inputs;
|
# Get system from the importing module's context
|
||||||
inherit pkgs;
|
system = nixpkgs.lib.systems.elaborate config.nixpkgs.hostPlatform;
|
||||||
};
|
pkgs = nixpkgs.legacyPackages.${system.system};
|
||||||
|
in
|
||||||
|
import ./default.nix {
|
||||||
|
inherit inputs;
|
||||||
|
inherit pkgs;
|
||||||
|
};
|
||||||
default = nixvim-config;
|
default = nixvim-config;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue