Update flake.nix

This commit is contained in:
Thilo Hohlt
2023-08-07 09:41:23 +02:00
committed by GitHub
parent 27670c281d
commit 1e14146061

View File

@@ -12,13 +12,9 @@
flake = false; flake = false;
}; };
aurora-blog-template.url = "github:thiloho/aurora"; aurora-blog-template.url = "github:thiloho/aurora";
NixOS-WSL = {
url = "github:nix-community/NixOS-WSL";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = inputs@{ nixpkgs, home-manager, NixOS-WSL, ... }: { outputs = inputs@{ nixpkgs, home-manager, ... }: {
nixosConfigurations = let nixosConfigurations = let
mkSystem = entrypoint: nixpkgs.lib.nixosSystem { mkSystem = entrypoint: nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
@@ -29,7 +25,6 @@
}; };
} }
entrypoint entrypoint
NixOS-WSL.nixosModules.wsl
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager = { home-manager = {
@@ -43,7 +38,6 @@
pc = mkSystem ./nixos-configurations/pc; pc = mkSystem ./nixos-configurations/pc;
laptop = mkSystem ./nixos-configurations/laptop; laptop = mkSystem ./nixos-configurations/laptop;
server = mkSystem ./nixos-configurations/server; server = mkSystem ./nixos-configurations/server;
wsl = mkSystem ./nixos-configurations/wsl;
}; };
}; };
} }