pointfichiers/hosts/OVHCloud/default.nix

32 lines
498 B
Nix
Raw Normal View History

{
pkgs,
lib,
...
}: {
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
imports = [
./hardware-configuration.nix
];
# Nix
nix.settings.experimental-features = ["nix-command" "flakes"];
# Set your time zone.
time.timeZone = "Europe/Paris";
# Enable the OpenSSH daemon.
services.openssh = {
enable = true;
ports = [22];
settings = {
PasswordAuthentication = false;
};
};
environment.systemPackages = with pkgs; [
helix
git
];
}