Update configuration.nix
This commit is contained in:
parent
d167bc68a5
commit
e2e5cde9b5
1 changed files with 14 additions and 21 deletions
|
|
@ -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.
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./modules/base.nix
|
||||
(./modules + "/${hostname}.nix") # Uses hostname from environment
|
||||
./modules/kde.nix
|
||||
./modules/krisp-patcher.nix
|
||||
#<home-manager/nixos>
|
||||
./base.nix
|
||||
];
|
||||
networking.hostName = "${hostname}";
|
||||
|
||||
#######################################################
|
||||
system.stateVersion = "25.05";
|
||||
# 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";
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue