This commit is contained in:
2025-08-03 14:47:27 +03:00
parent 79f1f64aa8
commit a0d639c71b
4 changed files with 59 additions and 21 deletions
+5 -4
View File
@@ -10,11 +10,12 @@ let
}:
{
imports = with inputs; [ <nixos-wsl/modules>
imports = with inputs; [
<nixos-wsl/modules>
nixos-wsl.nixosModules.default
self.nixosModules.default
];
];
i18n = {
defaultLocale = "en_US.UTF-8";
@@ -31,9 +32,9 @@ let
SystemMaxUse=512M
'';
};
earlyoom.enable = true;
earlyoom.enable = true;
};
networking.hostName = "${inputs.zeroq.devices.wsl.hostname}";
wsl = {
Generated
+35 -6
View File
@@ -280,6 +280,30 @@
"type": "github"
}
},
"nixos-wsl": {
"inputs": {
"flake-compat": [
"flake-compat"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1753704990,
"narHash": "sha256-5E14xuNWy2Un1nFR55k68hgbnD8U2x/rE5DXJtYKusw=",
"owner": "nix-community",
"repo": "NixOS-WSL",
"rev": "58c814cc6d4a789191f9c12e18277107144b0c91",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "main",
"repo": "NixOS-WSL",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1744536153,
@@ -517,6 +541,7 @@
"nixos": "nixos",
"nixos-facter-modules": "nixos-facter-modules",
"nixos-hardware": "nixos-hardware",
"nixos-wsl": "nixos-wsl",
"nixpkgs": "nixpkgs_3",
"nixpkgs-fingerprint": "nixpkgs-fingerprint",
"nixpkgs-last-unstable": "nixpkgs-last-unstable",
@@ -602,14 +627,18 @@
},
"zeroq": {
"locked": {
"path": "./modules/zeroq",
"type": "path"
"lastModified": 1754220611,
"narHash": "sha256-ZysBpRalunTputyht0PWhjheQGy6zgng9g3Km0edNdE=",
"ref": "refs/heads/master",
"rev": "43c852a7b730e25179a80ff4cc601b7f894294fa",
"revCount": 1,
"type": "git",
"url": "ssh://git@github.com/oqyude/zeroq.git"
},
"original": {
"path": "./modules/zeroq",
"type": "path"
},
"parent": []
"type": "git",
"url": "ssh://git@github.com/oqyude/zeroq.git"
}
},
"zeroq-credentials": {
"locked": {
+11 -3
View File
@@ -16,9 +16,15 @@
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
nixpkgs-fingerprint.url = "github:NixOS/nixpkgs/nixos-24.11";
nixos.url = "github:NixOS/nixpkgs/nixos-unstable";
nixos-wsl.url = "github:nix-community/NixOS-WSL/main";
# nix-community
nixos-wsl = {
url = "github:nix-community/NixOS-WSL/main";
inputs = {
flake-compat.follows = "flake-compat";
nixpkgs.follows = "nixpkgs";
};
};
nixos-facter-modules.url = "github:numtide/nixos-facter-modules";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
flake-compat.url = "github:edolstra/flake-compat";
@@ -39,8 +45,10 @@
plasma-manager = {
# https://github.com/nix-community/plasma-manager
url = "github:nix-community/plasma-manager";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
inputs = {
nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager";
};
};
nix-index-database = {
url = "github:nix-community/nix-index-database";
+8 -8
View File
@@ -22,14 +22,14 @@
proxyWebsockets = true; # Если Immich использует WebSockets
};
};
# "nextcloud.zeroq.ru" = {
# forceSSL = true;
# enableACME = true;
# locations."/" = {
# proxyPass = "http://sapphira.laxta-platy.ts.net:10000"; # Порт Nextcloud
# proxyWebsockets = true;
# };
# };
# "nextcloud.zeroq.ru" = {
# forceSSL = true;
# enableACME = true;
# locations."/" = {
# proxyPass = "http://sapphira.laxta-platy.ts.net:10000"; # Порт Nextcloud
# proxyWebsockets = true;
# };
# };
"llm.zeroq.ru" = {
forceSSL = true;
enableACME = true;