nix-config/hosts/lemp11/configuration.nix

45 lines
703 B
Nix

{ inputs, ... }:
{
imports = with inputs.self.nixosModules; [
./hardware-configuration.nix
./hardware.nix
./programs.nix
./services.nix
mixins-avahi
mixins-common
mixins-zram
mixins-zsh
users-opdavies
users-eric
users-luke
];
# Bootloader.
boot = {
loader = {
systemd-boot = {
enable = true;
configurationLimit = 25;
};
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot/efi";
};
};
};
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
networking.networkmanager.enable = true;
security = {
polkit.enable = true;
rtkit.enable = true;
};
}