You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.3 KiB
Nix

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# The is the system definition for vps749417.ovh.net.
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
# Boot loader
boot.loader = {
grub = {
enable = true;
device = "/dev/sda";
};
};
# Network configuration
networking = {
hostName = "vps749417";
useDHCP = false;
interfaces.ens3.useDHCP = true;
};
# Time zone
time.timeZone = "Europe/Paris";
# Packages installed in system profile
environment.systemPackages = with pkgs; [
git htop tmux vim wget
];
# OpenSSH daemon
services.openssh = {
enable = true;
passwordAuthentication = false;
};
# Initial user account
users.users.manu = {
isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user.
initialHashedPassword = "$6$40/yq55oyhD2MhbS$fox2DB5Aj4EpbQAx8z6FYEh3Jl3HKa7aHlGbijJukWxOpXIlKqNucBA8Eene7SaUQzHpvrhke9EFZIRxZpl5F/";
};
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you
# should.
system.stateVersion = "19.09"; # Did you read the comment?
}