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