mirror of
https://github.com/nikdoof/nixos-config.git
synced 2025-12-18 13:09:26 +00:00
Add nixos VM
This commit is contained in:
26
machines/nixos/configuration.nix
Normal file
26
machines/nixos/configuration.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page, on
|
||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../../common.nix
|
||||
../../server.nix
|
||||
../../hardware/esxi-vm.nix
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.systemd-boot.configurationLimit = 2;
|
||||
|
||||
networking.hostName = "nixos"; # Define your hostname.
|
||||
|
||||
system.copySystemConfiguration = true;
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user