diff --git a/configuration.nix b/configuration.nix index ee67275..7429820 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,25 +1,18 @@ -# 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, ... }: - -let - hostname = "nixos-gaming"; -in +{ config, pkgs, lib, ... }: { - imports = - [ # Include the results of the hardware scan. - ./hardware-configuration.nix - ./modules/base.nix - (./modules + "/${hostname}.nix") # Uses hostname from environment - ./modules/kde.nix - ./modules/krisp-patcher.nix - # - ]; - networking.hostName = "${hostname}"; +imports = [ + ./hardware-configuration.nix + ./base.nix +]; + +# Bootloader. +boot.loader.grub.enable = true; +boot.loader.grub.device = "/dev/vda"; +boot.loader.grub.useOSProber = true; + +networking.hostName = "FredOS-gaming"; + +system.stateVersion = "25.11"; -####################################################### -system.stateVersion = "25.05"; }