mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-10 01:24:05 -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 = {
|
||||
disk = "/dev/nvme0n1";
|
||||
withSwap = true;
|
||||
swapSize = 8;
|
||||
swapSize = "8";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,9 @@
|
|||
modulesPath,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
loginKey = builtins.readFile ./installer.pub;
|
||||
in {
|
||||
imports = [
|
||||
inputs.disko.nixosModules.disko
|
||||
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
|
||||
|
|
@ -29,4 +31,12 @@
|
|||
networkmanager.enable = true;
|
||||
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