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
|
{ 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
|
||||||
./modules/base.nix
|
./base.nix
|
||||||
(./modules + "/${hostname}.nix") # Uses hostname from environment
|
|
||||||
./modules/kde.nix
|
|
||||||
./modules/krisp-patcher.nix
|
|
||||||
#<home-manager/nixos>
|
|
||||||
];
|
];
|
||||||
networking.hostName = "${hostname}";
|
|
||||||
|
|
||||||
#######################################################
|
# Bootloader.
|
||||||
system.stateVersion = "25.05";
|
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