All checks were successful
/ check (push) Successful in 1m11s
Move them to each host's configuration.nix file and keep flake.nix shorter and cleaner.
46 lines
757 B
Nix
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;
|
|
}
|