nixfiles/hosts/affogato/default.nix

52 lines
1.2 KiB
Nix
Raw Normal View History

2024-11-23 20:35:39 +00:00
{ pkgs, ... }: {
imports = [
./hardware-configuration.nix
./n100.nix
../../profiles/base
../../profiles/graphical
../../profiles/kde
../../users/transcaffeine
../../users/leona
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
#boot.kernelPackages = pkgs.linuxPackages_6_6;
boot.kernelParams = [
"fbcon=rotate:1"
# disable panel self refresh for i915
# "i915.enable_psr=0"
# set max cstate to 2 (suspend?)
# "intel_idle.max_cstate=2"
"nvme.noacpi=1"
];
hardware.enableRedistributableFirmware = true;
networking.hostName = "affogato";
networking.hosts = {
"78.94.116.221" = [
"git.finally.coffee"
"chat.finallycoffee.eu"
"cloud.finallycoffee.eu"
];
};
# Set your time zone.
time.timeZone = "Europe/Berlin";
# Network
networking.networkmanager.enable = true;
systemd.services.ModemManager.enable = true;
services.printing.enable = true;
services.avahi.enable = true;
services.tailscale.enable = true;
services.blueman.enable = true;
# TODO: delete this later
system.stateVersion = "23.05"; # Did you read the comment?
}