mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-18 02:07:02 -04:00
add desktop wsl
This commit is contained in:
parent
c3c311cd37
commit
4b4159b27d
3 changed files with 47 additions and 10 deletions
44
flake.nix
44
flake.nix
|
@ -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);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue