59 lines
1.3 KiB
Nix
59 lines
1.3 KiB
Nix
### 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;
|
||
|
||
hardware.pulseaudio = {
|
||
enable = true;
|
||
package = pkgs.pulseaudioFull;
|
||
};
|
||
|
||
hardware.bluetooth.enable = true;
|
||
hardware.bluetooth.settings = {
|
||
General = {
|
||
Enable = "Source,Sink,Media,Socket";
|
||
};
|
||
};
|
||
|
||
services = {
|
||
fwupd.enable = true;
|
||
thinkfan.enable = true;
|
||
tlp.enable = true;
|
||
tp-auto-kbbl.enable = true;
|
||
blueman.enable = true;
|
||
};
|
||
|
||
services = {
|
||
pcscd.enable = true;
|
||
udev.packages = [ pkgs.yubikey-personalization ];
|
||
};
|
||
|
||
environment.etc."pkcs11/modules/ykcs11".text = ''
|
||
module: ${pkgs.yubico-piv-tool}/lib/libykcs11.so
|
||
'';
|
||
|
||
}
|
||
|