nixos-config/machines/vm2/configuration.nix

46 lines
1.2 KiB
Nix
Raw Normal View History

{ self, ... }: {
imports = [ ./hardware-configuration.nix ];
2021-11-12 17:10:17 +01:00
eboskma = {
2021-11-17 16:32:18 +01:00
base = {
plymouth.enable = true;
work = false;
};
2021-11-12 17:10:17 +01:00
desktop = {
enable = true;
home-manager = true;
};
2021-11-16 00:22:18 +01:00
nix-common = {
enable = true;
};
2021-11-17 16:32:18 +01:00
greetd.enable = true;
2021-11-12 17:10:17 +01:00
};
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;
2021-11-16 00:22:18 +01:00
interfaces.enp1s0.useDHCP = true;
2021-11-12 07:23:46 +01:00
};
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?
}