mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
only generate ed25516 key for host
This commit is contained in:
parent
84e02b408f
commit
586f330608
4 changed files with 13 additions and 1 deletions
|
|
@ -31,4 +31,8 @@
|
|||
enable = true;
|
||||
addNetworkInterface = false;
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.antimicrox
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,4 +8,6 @@
|
|||
./audio.nix
|
||||
./graphics.nix
|
||||
];
|
||||
|
||||
hardware.uinput.enable = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,5 +5,11 @@
|
|||
PermitRootLogin = "prohibit-password";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
hostKeys = [
|
||||
{
|
||||
path = "/etc/ssh/ssh_host_ed25519_key";
|
||||
type = "ed25519";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
users.users.crow = lib.mkIf config.user.crow.enable {
|
||||
isNormalUser = true;
|
||||
hashedPassword = "$y$j9T$wDC7wMJxCLNvdf8L8s6jZ.$U06F381x07fzu.updEsoegiWtbFvsrRJ7DLN9gR7un0";
|
||||
extraGroups = ["wheel" "networkmanager" "audio" "plugdev" "dialout"];
|
||||
extraGroups = ["wheel" "networkmanager" "audio" "plugdev" "dialout" "input" "uinput"];
|
||||
openssh.authorizedKeys.keyFiles = [
|
||||
inputs.nix-secrets.keys.default
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue