Update Cfg and add proxy/wsl

This commit is contained in:
soraefir
2026-05-30 17:48:18 +02:00
parent d9e7775afc
commit 4217227070
18 changed files with 136 additions and 20 deletions

View File

@@ -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