mirror of
https://github.com/blahai/nyx.git
synced 2025-02-23 15:35:09 +00:00
20 lines
617 B
Nix
20 lines
617 B
Nix
|
{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"
|
||
|
];
|
||
|
}
|