nixos-config/machines/vm2/configuration.nix

39 lines
1 KiB
Nix
Raw Normal View History

2021-11-12 07:23:46 +01:00
{ self, ... }:
{
2021-11-12 17:10:17 +01:00
imports = [ ./hardware-configuration.nix ];
eboskma = {
desktop = {
enable = true;
home-manager = true;
};
};
2021-11-12 07:23:46 +01:00
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
time.timeZone = "Europe/Amsterdam";
networking = {
2021-11-12 17:10:17 +01:00
hostName = "vm2";
2021-11-12 07:23:46 +01:00
useDHCP = false;
interfaces.enp1s.useDHCP = true;
};
2021-11-12 17:10:17 +01:00
# nix = {
# package = pkgs.nixUnstable;
# extraOptions = ''
# experimental-features = nix-command flakes
# '';
# };
2021-11-12 07:23:46 +01:00
services.openssh.enable = true;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "21.05"; # Did you read the comment?
}