nix-config/hosts/t490/configuration.nix
Oliver Davies 22264fb82e
All checks were successful
/ check (push) Successful in 1m11s
Refactor inputs
Move them to each host's configuration.nix file and keep flake.nix
shorter and cleaner.
2025-06-01 15:13:20 +01:00

46 lines
757 B
Nix

{ inputs, ... }:
{
imports = [
inputs.agenix.nixosModules.default
inputs.nixos-hardware.nixosModules.common-gpu-intel
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t490
../common
./hardware-configuration.nix
./hardware.nix
./services
../../users/luke.nix
../../users/opdavies.nix
];
core = {
bluetooth.enable = true;
zram.enable = true;
};
desktop.dconf.enable = true;
nixpad.enable = true;
boot = {
loader = {
systemd-boot = {
enable = true;
configurationLimit = 10;
};
efi = {
canTouchEfiVariables = true;
};
};
};
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
networking.networkmanager.enable = true;
}