t14_legacy_config/base/platforms/t14/default.nix

59 lines
1.3 KiB
Nix
Raw Permalink Normal View History

### T14
# Edet this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, lib, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration-custom.nix
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.tmpOnTmpfs = true;
#boot.kernelPackages = pkgs.linuxPackages_latest;
networking.hostName = "t14"; # Define your hostname.
networking.networkmanager.enable = true;
# Set your time zone.
time.timeZone = "America/Costa_Rica";
hardware.opengl.enable = true;
2023-04-27 03:04:46 +02:00
hardware.pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull;
};
hardware.bluetooth.enable = true;
hardware.bluetooth.settings = {
General = {
Enable = "Source,Sink,Media,Socket";
};
};
2023-03-23 05:16:00 +01:00
services = {
fwupd.enable = true;
thinkfan.enable = true;
tlp.enable = true;
2023-04-27 03:04:46 +02:00
tp-auto-kbbl.enable = true;
blueman.enable = true;
2023-03-23 05:16:00 +01:00
};
2024-12-03 03:51:02 +01:00
services = {
pcscd.enable = true;
udev.packages = [ pkgs.yubikey-personalization ];
};
environment.etc."pkcs11/modules/ykcs11".text = ''
module: ${pkgs.yubico-piv-tool}/lib/libykcs11.so
'';
}