nix-config/hosts/lemp11/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

65 lines
1.2 KiB
Nix

{ inputs, pkgs, ... }:
{
imports = [
inputs.agenix.nixosModules.default
inputs.nixos-hardware.nixosModules.common-cpu-intel
inputs.nixos-hardware.nixosModules.common-gpu-intel
inputs.nixos-hardware.nixosModules.common-pc-laptop
inputs.nixos-hardware.nixosModules.common-pc-laptop-hdd
inputs.nixos-hardware.nixosModules.system76
../common
./hardware-configuration.nix
./programs.nix
./services.nix
../../users/opdavies.nix
../../users/eric.nix
];
core = {
bluetooth.enable = true;
zram.enable = true;
};
desktop.media.makemkv.enable = true;
nixpad.enable = true;
# 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;
};
users.users.eric.packages = with pkgs; [
git
vscodium
];
environment.systemPackages = with pkgs; [
fastfetch
htop
];
}