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

133 lines
2.2 KiB
Nix

{ inputs, pkgs, ... }:
{
imports = [
inputs.agenix.nixosModules.default
inputs.nixos-hardware.nixosModules.common-gpu-intel
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480
../common
./hardware-configuration.nix
./modules
./secrets.nix
./services
../../users/opdavies.nix
];
cli = {
kanata = {
enable = true;
devices = [
"/dev/input/by-path/platform-i8042-serio-0-event-kbd"
];
};
password-store = {
enable = true;
extensions = with pkgs.passExtensions; [
pass-audit
pass-otp
pass-update
];
};
};
core = {
bluetooth.enable = true;
openssh.enable = true;
pipewire.enable = true;
xbanish.enable = true;
zram.enable = true;
};
desktop = {
dconf.enable = true;
dwm.enable = true;
fonts.enable = true;
media.makemkv.enable = true;
st.enable = true;
thunar.enable = true;
};
boot = {
loader = {
systemd-boot = {
enable = true;
configurationLimit = 10;
};
efi = {
canTouchEfiVariables = true;
};
};
};
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
networking.networkmanager.enable = true;
networking.hosts = {
"192.168.1.116" = [
"home.oliverdavies.uk"
"jellyfin.oliverdavies.uk"
"nixedo.oliverdavies.uk"
"paperless.oliverdavies.uk"
"photos.oliverdavies.uk"
"ssh.oliverdavies.uk"
"tubearchivist.oliverdavies.uk"
];
};
security = {
polkit.enable = true;
rtkit.enable = true;
};
environment.systemPackages = with pkgs; [
abook
acpi
arandr
backup-websites
brightnessctl
build-glove80
cdrkit
cpufrequtils
displayselect
dvdbackup
dvdplusrwtools
ffmpegthumbnailer
gimp
gscan2pdf
gtypist
hunspellDicts.en-gb-large
isync
kdePackages.kdenlive
kdePackages.okular
libnotify
libreoffice
meslo-lg
obs-studio
pam_gnupg
pamixer
pavucontrol
peek
pmutils
shotwell
slack
sxiv
tailscale
ttyper
upload-to-files
xcape
xsel
yt-dlp
zeroad
zoom-us
];
}