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.
65 lines
1.2 KiB
Nix
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
|
|
];
|
|
}
|