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

@@ -2,11 +2,11 @@
# 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/omen.nix
./headful.nix
];
# Bootloader.
@@ -16,6 +16,9 @@
# Set hostname
networking.hostName = "randomctf";
# Create user
users.users.random = import ./user.nix;
# Enable Nvidia drivers
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
@@ -45,6 +48,4 @@
# Enable VMWare Workstation
virtualisation.vmware.host.enable = true;
system.stateVersion = "24.05";
}