Update Cfg and add proxy/wsl
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
nameValuePair = name: value: { inherit name value; };
|
||||
in ({
|
||||
"nixos" = inputs.nixpkgs.lib.nixosSystem {
|
||||
system = syscfg.syscfg.system;
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./modules/shared/syscfg
|
||||
@@ -15,6 +15,10 @@
|
||||
./systems/${host}
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
|
||||
(if (syscfg.syscfg.extra.wsl) then inputs.nixos-wsl.nixosModules.wsl else "")
|
||||
(if (syscfg.syscfg.extra.wsl) then inputs.vscode-server.nixosModules.default else "")
|
||||
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
@@ -28,7 +32,6 @@
|
||||
syscfg
|
||||
{ usercfg = userConfig; }
|
||||
inputs.nix-colors.homeManagerModule
|
||||
# inputs.hyprland.homeManagerModules.default
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
];
|
||||
}) syscfg.syscfg.users);
|
||||
@@ -37,7 +40,7 @@
|
||||
};
|
||||
|
||||
"macos" = inputs.darwin.lib.darwinSystem {
|
||||
system = syscfg.system;
|
||||
system = "x86_64-darwin";
|
||||
modules = [
|
||||
./modules/shared/syscfg
|
||||
./modules/shared/sops
|
||||
|
||||
Reference in New Issue
Block a user