2024-03-12 21:24:29 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [ # Include the results of the hardware scan.
|
|
|
|
./hardware-configuration.nix
|
2024-06-20 13:41:57 +02:00
|
|
|
|
|
|
|
# GUI
|
|
|
|
../../modules/system/gui/steam.nix
|
2024-08-09 11:02:11 +02:00
|
|
|
../../modules/system/gui/hyprland.nix
|
|
|
|
../../modules/system/gui/thunar.nix
|
2024-06-20 13:41:57 +02:00
|
|
|
|
|
|
|
# CLI
|
|
|
|
../../modules/system/cli/common.nix
|
2024-10-06 19:16:41 +02:00
|
|
|
../../modules/system/cli/docker.nix
|
2024-06-20 13:41:57 +02:00
|
|
|
|
|
|
|
# Hardware
|
|
|
|
../../modules/system/hardware/firewall.nix
|
|
|
|
../../modules/system/hardware/garbage-collection.nix
|
|
|
|
../../modules/system/hardware/locale.nix
|
|
|
|
../../modules/system/hardware/nvidia.nix
|
2024-03-12 21:24:29 +01:00
|
|
|
];
|
|
|
|
|
2024-03-23 09:32:03 +01:00
|
|
|
nix.settings = {
|
|
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
|
|
|
|
substituters = [
|
|
|
|
"https://nix-community.cachix.org"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-03-12 21:24:29 +01:00
|
|
|
|
|
|
|
# Bootloader.
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
2024-08-09 11:02:11 +02:00
|
|
|
boot.loader.grub = {
|
|
|
|
enable = true;
|
|
|
|
efiSupport = true;
|
|
|
|
device = "nodev";
|
|
|
|
};
|
2024-03-12 21:24:29 +01:00
|
|
|
|
|
|
|
networking.hostName = "xv-desktop"; # Define your hostname.
|
|
|
|
networking.interfaces.enp7s0.wakeOnLan.enable = true;
|
|
|
|
|
|
|
|
users.users.xeovalyte = {
|
|
|
|
isNormalUser = true;
|
|
|
|
description = "Timo Boomers";
|
2024-05-21 10:58:33 +02:00
|
|
|
extraGroups = [ "networkmanager" "wheel" "dialout" "fuse" ];
|
2024-03-12 21:24:29 +01:00
|
|
|
};
|
|
|
|
|
2024-08-09 11:02:11 +02:00
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
2024-03-16 20:45:29 +01:00
|
|
|
|
2024-06-02 12:10:28 +02:00
|
|
|
system.stateVersion = "24.05";
|
2024-03-12 21:24:29 +01:00
|
|
|
|
|
|
|
}
|