diff options
| author | Mike Vink <mike1994vink@gmail.com> | 2023-10-09 13:40:15 +0000 |
|---|---|---|
| committer | Mike Vink <mike1994vink@gmail.com> | 2023-10-09 13:40:15 +0000 |
| commit | bd7e5b35956b72071baca85e8ee39ee20318b278 (patch) | |
| tree | 144c4ec08fdbdf43031988decbc401fff128ab39 /flake.nix | |
| parent | 72618c7eb3ac6ff500732f11864543f8ad80de61 (diff) | |
add wsl config
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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; |
