nix/hosts/ti-clt-tbl01/default.nix

82 lines
1.7 KiB
Nix
Raw Normal View History

2024-12-25 10:57:48 +01:00
{ lib, pkgs, ... }:
2024-12-24 14:55:11 +01:00
{
imports = [
# Import hardware configuration
./hardware-configuration.nix
# Import modules
../../modules/system/default.nix
];
settings = {
display-manager = "gdm";
desktop-environments = {
cosmic.enable = false;
hyprland.enable = false;
gnome.enable = true;
};
applications = {
common.enable = true;
steam.enable = false;
thunar.enable = false;
};
services = {
docker.enable = false;
quickemu.enable = false;
sunshine.enable = false;
garbage-collection.enable = true;
};
hardware = {
fprint.enable = false;
printing.enable = false;
bluetooth.enable = true;
firewall.enable = true;
locale.enable = true;
2024-12-28 17:04:36 +01:00
nvidia.enable = false;
2024-12-24 14:55:11 +01:00
};
};
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
substituters = [
"https://nix-community.cachix.org"
"https://cosmic.cachix.org/"
];
trusted-public-keys = [
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
];
};
# Bootloader.
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.grub = {
enable = true;
efiSupport = true;
device = "nodev";
configurationLimit = 32;
};
2025-01-10 13:55:26 +01:00
networking.hostName = "ti-clt-tbl01"; # Define your hostname.
2024-12-24 14:55:11 +01:00
users.users.xeovalyte = {
isNormalUser = true;
description = "Timo Boomers";
extraGroups = [ "networkmanager" "wheel" "dialout" ];
};
nix.settings.trusted-users = [ "root" "xeovalyte" ];
# Prevent system freeze on high load
services.earlyoom = {
enable = true;
};
2024-12-25 10:57:48 +01:00
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_latest;
2024-12-24 14:55:11 +01:00
system.stateVersion = "24.05";
}