nixos/configuration.nix

26 lines
702 B
Nix
Raw Normal View History

2025-05-08 19:23:55 +01:00
# 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, ... }:
2025-08-13 09:16:00 +01:00
let
hostname = "nixos-gaming";
in
2025-05-08 19:23:55 +01:00
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
2025-08-13 09:16:00 +01:00
./modules/base.nix
(./modules + "/${hostname}.nix") # Uses hostname from environment
./modules/kde.nix
./modules/krisp-patcher.nix
#<home-manager/nixos>
2025-05-08 19:23:55 +01:00
];
2025-08-13 09:16:00 +01:00
networking.hostName = "${hostname}";
2025-05-09 21:03:20 +01:00
#######################################################
2025-08-13 09:16:00 +01:00
system.stateVersion = "25.05";
2025-05-08 19:23:55 +01:00
}