nixconf/hosts/hosts.nix
Deepak 56d9926c31
All checks were successful
gitea-deepak/nixconf/pipeline/head This commit looks good
feat: adds conditionla flag to condense home configs and adds eza and bat
2023-09-22 16:23:23 -05:00

41 lines
989 B
Nix

{ lib, inputs, nixpkgs, mysd, homeManager, NixOS-WSL, ... }:
{
"maxos" = lib.nixosSystem {
system = "x86_64-linux";
/* specialArgs = {
inherit mysd;
}; */
modules = [
./maxos/configuration.nix
homeManager.nixosModules.home-manager {
home-manager.extraSpecialArgs = {
inherit mysd;
withGUI = true;
};
home-manager.useGlobalPkgs = true;
home-manager.users.deepak = {
imports = [ ../home/deepak/home.nix ];
};
}
];
};
"nixosWSL" = lib.nixosSystem {
system = "x86_64-linux";
modules = [
./nixosWSL/configuration.nix
homeManager.nixosModules.home-manager {
home-manager.extraSpecialArgs = {
inherit mysd;
withGUI = false;
};
home-manager.useGlobalPkgs = true;
home-manager.users.deepak = {
imports = [ ../home/deepak/home.nix ];
};
}
NixOS-WSL.nixosModules.wsl
];
};
}