mirror of
https://github.com/numtide/nixos-anywhere.git
synced 2024-08-17 00:50:24 +03:00
reduce RAM requirements to 1GB
This commit is contained in:
parent
be8077ccaf
commit
a348625d82
@ -81,7 +81,7 @@ data has been migrated.
|
|||||||
- The machine must be reachable over the public internet or local network.
|
- The machine must be reachable over the public internet or local network.
|
||||||
Nixos-anywhere does not support wifi networks. If a VPN is needed, define a
|
Nixos-anywhere does not support wifi networks. If a VPN is needed, define a
|
||||||
custom installer via the --kexec flag which connects to your VPN.
|
custom installer via the --kexec flag which connects to your VPN.
|
||||||
- (when `kexec` is used) must have at least 1.5 GB of RAM, excluding swap.
|
- (when `kexec` is used) must have at least 1 GB of RAM, excluding swap.
|
||||||
|
|
||||||
## How to use nixos-anywhere
|
## How to use nixos-anywhere
|
||||||
|
|
||||||
|
@ -39,4 +39,4 @@ custom installer via the --kexec flag which connects to your VPN.
|
|||||||
[different kexec image](./howtos/INDEX.md#using-your-own-kexec-image)
|
[different kexec image](./howtos/INDEX.md#using-your-own-kexec-image)
|
||||||
manually.
|
manually.
|
||||||
- **Memory Requirements:**
|
- **Memory Requirements:**
|
||||||
- At least 1.5 GB of RAM (excluding swap space).
|
- At least 1 GB of RAM (excluding swap space).
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
installer = ./modules/installer.nix;
|
installer = ./modules/installer.nix;
|
||||||
installed = {
|
installed = {
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
virtualisation.memorySize = 1512;
|
virtualisation.memorySize = 1024;
|
||||||
|
|
||||||
users.users.root.openssh.authorizedKeys.keyFiles = [ ./modules/ssh-keys/ssh.pub ];
|
users.users.root.openssh.authorizedKeys.keyFiles = [ ./modules/ssh-keys/ssh.pub ];
|
||||||
};
|
};
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
installer = ./modules/installer.nix;
|
installer = ./modules/installer.nix;
|
||||||
installed = {
|
installed = {
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
virtualisation.memorySize = 1512;
|
virtualisation.memorySize = 1024;
|
||||||
|
|
||||||
users.users.nixos = {
|
users.users.nixos = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
installer = ./modules/installer.nix;
|
installer = ./modules/installer.nix;
|
||||||
installed = {
|
installed = {
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
virtualisation.memorySize = 1512;
|
virtualisation.memorySize = 1024;
|
||||||
|
|
||||||
users.users.root.openssh.authorizedKeys.keyFiles = [ ./modules/ssh-keys/ssh.pub ];
|
users.users.root.openssh.authorizedKeys.keyFiles = [ ./modules/ssh-keys/ssh.pub ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user