mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 01:34:08 -05:00
testing installs on incarneron now
This commit is contained in:
parent
bb156aca07
commit
3c0db47a41
3 changed files with 13 additions and 2 deletions
|
|
@ -21,7 +21,7 @@
|
||||||
_module.args = {
|
_module.args = {
|
||||||
disk = "/dev/nvme0n1";
|
disk = "/dev/nvme0n1";
|
||||||
withSwap = true;
|
withSwap = true;
|
||||||
swapSize = 8;
|
swapSize = "8";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,9 @@
|
||||||
modulesPath,
|
modulesPath,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
|
loginKey = builtins.readFile ./installer.pub;
|
||||||
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.disko.nixosModules.disko
|
inputs.disko.nixosModules.disko
|
||||||
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
|
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
|
||||||
|
|
@ -29,4 +31,12 @@
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
enableIPv6 = false;
|
enableIPv6 = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users.users.nixos.openssh.authorizedKeys.keys = [loginKey];
|
||||||
|
users.users.root.openssh.authorizedKeys.keys = [loginKey];
|
||||||
|
|
||||||
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
1
nixos-bootstrap/installer.pub
Normal file
1
nixos-bootstrap/installer.pub
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILitXCbWKzO56YIc3usTK1NS5M61ZNvATly06MFqb/8m nixos install
|
||||||
Loading…
Add table
Add a link
Reference in a new issue