Created headful and headless files for upcoming changes

This commit is contained in:
Random936
2024-07-04 18:22:24 -07:00
parent 1eed0aa287
commit 2f097552b6
6 changed files with 71 additions and 27 deletions

21
config/headless.nix Normal file
View File

@@ -0,0 +1,21 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, inputs, ... }:
{
imports = [
../hardware/vm.nix
];
# Bootloader.
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda";
boot.loader.grub.useOSProber = true;
# Set hostname
networking.hostName = "nixos-dev";
system.stateVersion = "24.05";
}