mio-ops/profiles/server_common.nix

22 lines
398 B
Nix
Raw Normal View History

2019-12-10 14:42:06 +00:00
# Configuration common to all my servers
{
2022-03-07 14:26:15 +00:00
config,
pkgs,
lib,
...
}: {
2021-11-16 04:57:23 +00:00
imports = [
../profiles/openssh.nix
../secrets/user-craige.nix
../secrets/user-root.nix
];
2019-12-10 14:42:06 +00:00
programs.mosh = {
enable = true;
withUtempter = true;
};
security.polkit.enable = false; # avoid CVE-2021-4034 (PwnKit)
services.udisks2.enable = false; # disable udisks2 which enables polkit
2019-12-10 14:42:06 +00:00
}