Update configuration.nix

This commit is contained in:
ediblerope 2025-12-02 20:35:16 +00:00 committed by GitHub
parent d167bc68a5
commit e2e5cde9b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,25 +1,18 @@
# Edit this configuration file to define what should be installed on { config, pkgs, lib, ... }:
# 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
{ {
imports = imports = [
[ # Include the results of the hardware scan. ./hardware-configuration.nix
./hardware-configuration.nix ./base.nix
./modules/base.nix ];
(./modules + "/${hostname}.nix") # Uses hostname from environment
./modules/kde.nix # Bootloader.
./modules/krisp-patcher.nix boot.loader.grub.enable = true;
#<home-manager/nixos> boot.loader.grub.device = "/dev/vda";
]; boot.loader.grub.useOSProber = true;
networking.hostName = "${hostname}";
networking.hostName = "FredOS-gaming";
system.stateVersion = "25.11";
#######################################################
system.stateVersion = "25.05";
} }