Separated out shared.nix into headful and headless nix config files

This commit is contained in:
Random936
2024-07-04 18:31:09 -07:00
parent 2f097552b6
commit 8de0666cc5
5 changed files with 69 additions and 68 deletions

View File

@@ -1,21 +1,11 @@
# 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, ... }: {
{ config, pkgs, inputs, ... }:
{
imports = [
../hardware/vm.nix
];
imports = [ ./shared.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";
}