hosts/server | update to match changes upstream

This commit is contained in:
Don Harper 2024-08-10 12:09:32 -05:00
parent e9c77afd73
commit b74297fff0

View file

@ -48,13 +48,16 @@ in {
};
# Select internationalisation properties.
i18n.defaultLocale = "en_US.utf8";
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-mozc
fcitx5-gtk
];
i18n = {
defaultLocale = "en_US.utf8";
inputMethod = {
enabled = true;
type = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-mozc
fcitx5-gtk
];
};
};
# Bootloader.
@ -133,6 +136,13 @@ in {
security.rtkit.enable = true;
users.users = {
root = {
initialPassword = "changeme";
description = "root of all evil";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINd8AdVbQQ/Fmw+b9mI8EMYqIoRkwmSwAOtmlte3incL don@loki"
];
};
don = {
isNormalUser = true;
initialPassword = "changeme";
@ -142,12 +152,6 @@ in {
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINd8AdVbQQ/Fmw+b9mI8EMYqIoRkwmSwAOtmlte3incL don@loki"
];
};
root = {
initialPassword = "changeme";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINd8AdVbQQ/Fmw+b9mI8EMYqIoRkwmSwAOtmlte3incL don@loki"
];
};
};
#nixpkgs.config.allowUnfree = true;