add desktop wsl

This commit is contained in:
sadan 2025-03-26 21:57:03 +00:00
parent c3c311cd37
commit 4b4159b27d
No known key found for this signature in database
3 changed files with 47 additions and 10 deletions

View file

@ -197,16 +197,42 @@
nixos-wsl.nixosModules.wsl
];
};
wsl-desktop-evo4b5 = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
specialArgs = {
inherit inputs;
unstable = import nixpkgs-unstable {
inherit system;
config = {
allowUnfree = true;
};
};
};
modules = [
(
{ pkgs, ... }:
{
_module.args = {
stable = pkgs;
};
}
)
nixos-wsl.nixosModules.default
./boxes/wsl-desktop-evo4b5/configuration.nix
inputs.home-manager.nixosModules.default
inputs.nix-index-database.nixosModules.nix-index
{ programs.nix-index-database.comma.enable = true; }
];
};
# nixosConfigurations.default = nixpkgs.lib.nixosSystem {
# specialArgs = {inherit inputs;};
# modules = [
# ./boxes/desktop/configuration.nix
# inputs.home-manager.nixosModules.default
# ];
# };
# cpkg = forAllSystems(system: import ./customPackages);
};
# nixosConfigurations.default = nixpkgs.lib.nixosSystem {
# specialArgs = {inherit inputs;};
# modules = [
# ./boxes/desktop/configuration.nix
# inputs.home-manager.nixosModules.default
# ];
# };
# cpkg = forAllSystems(system: import ./customPackages);
};
};
}