nix/hosts/laptop/default.nix

64 lines
1.4 KiB
Nix
Raw Normal View History

2024-03-09 17:18:36 +01:00
{ config, pkgs, ... }:
{
2024-06-20 13:41:57 +02:00
imports = [
2024-03-12 17:31:56 +01:00
./hardware-configuration.nix
2024-06-20 13:41:57 +02:00
# GUI
../../modules/system/gui/hyprland.nix
../../modules/system/gui/steam.nix
../../modules/system/gui/thunar.nix
2024-09-05 19:20:03 +02:00
# ../../modules/system/gui/plasma.nix
2024-06-20 13:41:57 +02:00
# 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
2024-03-12 17:31:56 +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 17:31:56 +01:00
2024-03-09 17:18:36 +01:00
# Bootloader.
boot.loader.efi.canTouchEfiVariables = true;
2024-03-12 17:31:56 +01:00
boot.loader.grub = {
2024-03-09 17:18:36 +01:00
enable = true;
2024-03-12 17:31:56 +01:00
efiSupport = true;
device = "nodev";
2024-09-12 18:39:59 +02:00
configurationLimit = 32;
2024-03-09 17:18:36 +01:00
};
2024-03-12 17:31:56 +01:00
networking.hostName = "xv-laptop"; # Define your hostname.
2024-03-09 17:18:36 +01:00
users.users.xeovalyte = {
isNormalUser = true;
description = "Timo Boomers";
2024-03-12 17:31:56 +01:00
extraGroups = [ "networkmanager" "wheel" "dialout" ];
2024-03-09 17:18:36 +01:00
};
2024-06-06 09:09:50 +02:00
boot.kernelPackages = pkgs.linuxPackages_latest;
2024-09-12 18:39:59 +02:00
# Configure wacom tablet
hardware.opentabletdriver = {
enable = true;
};
services.libinput.enable = true;
2024-09-05 19:20:03 +02:00
2024-06-02 12:10:28 +02:00
system.stateVersion = "24.05";
2024-03-09 17:18:36 +01:00
}