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