mirror of
https://github.com/blahai/nyx.git
synced 2025-06-22 03:37:04 -04:00
ISO: stuffies
This commit is contained in:
parent
35e372a025
commit
0863504183
7 changed files with 146 additions and 1 deletions
19
modules/iso/networking.nix
Normal file
19
modules/iso/networking.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{lib, ...}: let
|
||||
inherit (lib.modules) mkForce;
|
||||
in {
|
||||
# use networkmanager in the live environment
|
||||
networking.networkmanager = {
|
||||
enable = true;
|
||||
# we don't want any plugins, they only takeup space
|
||||
# you might consider adding some if you need a VPN for example
|
||||
plugins = mkForce [];
|
||||
};
|
||||
|
||||
networking.wireless.enable = mkForce false;
|
||||
|
||||
# allow ssh into the system for headless installs
|
||||
systemd.services.sshd.wantedBy = mkForce ["multi-user.target"];
|
||||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILPbmiNqoyeKXk/VopFm2cFfEnV4cKCFBhbhyYB69Fuu"
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue