forked from Fachschaft/nixConfig
Add Nodens, a VM to install NixOS VMs
This commit is contained in:
parent
51c83c8ec0
commit
35707122fa
3 changed files with 74 additions and 20 deletions
16
nixos/machines/nodens/configuration.nix
Normal file
16
nixos/machines/nodens/configuration.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../roles
|
||||
../../roles/vm.nix
|
||||
../../modules/vmNetwork.nix
|
||||
];
|
||||
|
||||
# System configuration here
|
||||
|
||||
environment.systemPackages = [pkgs.git];
|
||||
|
||||
networking.hostName = "nodens";
|
||||
vmNetwork.ipv4 = "192.168.0.18";
|
||||
system.stateVersion = "24.11";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue