64 lines
1.4 KiB
Nix
64 lines
1.4 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
|
|
# GUI
|
|
../../modules/system/gui/hyprland.nix
|
|
../../modules/system/gui/steam.nix
|
|
../../modules/system/gui/thunar.nix
|
|
# ../../modules/system/gui/plasma.nix
|
|
|
|
# CLI
|
|
../../modules/system/cli/common.nix
|
|
../../modules/system/cli/docker.nix
|
|
|
|
# Hardware
|
|
../../modules/system/hardware/amd.nix
|
|
../../modules/system/hardware/bluetooth.nix
|
|
../../modules/system/hardware/firewall.nix
|
|
../../modules/system/hardware/garbage-collection.nix
|
|
../../modules/system/hardware/laptop.nix
|
|
../../modules/system/hardware/locale.nix
|
|
../../modules/system/hardware/printing.nix
|
|
];
|
|
|
|
nix.settings = {
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
substituters = [
|
|
"https://nix-community.cachix.org"
|
|
];
|
|
};
|
|
|
|
# Bootloader.
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
boot.loader.grub = {
|
|
enable = true;
|
|
efiSupport = true;
|
|
device = "nodev";
|
|
configurationLimit = 32;
|
|
};
|
|
|
|
networking.hostName = "xv-laptop"; # Define your hostname.
|
|
|
|
users.users.xeovalyte = {
|
|
isNormalUser = true;
|
|
description = "Timo Boomers";
|
|
extraGroups = [ "networkmanager" "wheel" "dialout" ];
|
|
};
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
# Configure wacom tablet
|
|
hardware.opentabletdriver = {
|
|
enable = true;
|
|
};
|
|
|
|
services.libinput.enable = true;
|
|
|
|
system.stateVersion = "24.05";
|
|
|
|
}
|