From bd7e5b35956b72071baca85e8ee39ee20318b278 Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Mon, 9 Oct 2023 13:40:15 +0000 Subject: add wsl config --- flake.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 29fb0a5..9e83481 100644 --- a/flake.nix +++ b/flake.nix @@ -42,6 +42,24 @@ ]))); }; + nixosConfigurations.wsl = nixpkgs.lib.nixosSystem { + inherit lib system; + specialArgs = {inherit inputs;}; + modules = [ + ({config, ... }: { + nixpkgs.overlays = with lib; [(composeManyExtensions [ + (import ./overlays/vimPlugins.nix {inherit pkgs;}) + (import ./overlays/suckless.nix {inherit pkgs; home = config.users.users.mike.home;}) + ])]; + }) + ./machines/wsl.nix + ] ++ (attrValues + (attrsets.mergeAttrsList (map modulesIn [ + ./profiles/core + ./profiles/station + ]))); + }; + templates = { default = { path = ./templates/flake; -- cgit v1.2.3