nixos-config/machines/vm1/configuration.nix

38 lines
1 KiB
Nix
Raw Normal View History

2022-03-01 22:19:03 +01:00
{self, ...}: {
imports = [./hardware-configuration.nix];
2021-11-12 17:10:17 +01:00
eboskma = {
desktop = {
enable = true;
home-manager = true;
};
};
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
time.timeZone = "Europe/Amsterdam";
networking = {
hostName = "vm2";
useDHCP = false;
2021-11-16 00:22:18 +01:00
interfaces.enp1s0.useDHCP = true;
2021-11-12 17:10:17 +01:00
};
# nix = {
# package = pkgs.nixUnstable;
# extraOptions = ''
# experimental-features = nix-command flakes
# '';
# };
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?
}