2024-02-19 19:34:50 +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
|
|
|
|
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
|
|
|
|
|
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
|
|
|
|
[
|
2024-02-19 20:49:59 +01:00
|
|
|
|
../../modules/linux_gaming.nix
|
2024-02-19 19:34:50 +01:00
|
|
|
|
../../modules/system.nix
|
|
|
|
|
../../modules/network.nix
|
|
|
|
|
../../modules/nvidia.nix
|
|
|
|
|
../../modules/plasma.nix
|
|
|
|
|
../../modules/keymaps/us.nix
|
2024-02-19 20:24:19 +01:00
|
|
|
|
../../modules/bluetooth.nix
|
2024-02-19 19:34:50 +01:00
|
|
|
|
../../modules/pipewire.nix
|
|
|
|
|
|
|
|
|
|
# Include the results of the hardware scan.
|
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
# Bootloader.
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
|
|
networking.hostName = "nixos-desktop-perso"; # Define your hostname.
|
2024-03-08 21:11:52 +01:00
|
|
|
|
|
|
|
|
|
# https://nixos.wiki/wiki/Build_flags
|
2024-03-09 19:54:21 +01:00
|
|
|
|
# nixpkgs.hostPlatform = {
|
|
|
|
|
# gcc.arch = "x86-64-v3";
|
|
|
|
|
# gcc.tune = "x86-64-v3";
|
|
|
|
|
# system = "x86_64-linux";
|
|
|
|
|
# };
|
2024-02-19 19:34:50 +01:00
|
|
|
|
}
|