nix-config/hosts/t490/configuration.nix

63 lines
894 B
Nix
Raw Normal View History

{ pkgs, ... }:
2025-03-21 15:01:39 +00:00
{
imports = [
../common
2025-03-21 15:01:39 +00:00
./hardware-configuration.nix
./hardware.nix
./secrets.nix
./services
./users.nix
../../users/opdavies.nix
2025-03-21 15:01:39 +00:00
];
features = {
core = {
bluetooth.enable = true;
zram.enable = true;
};
desktop.dconf.enable = true;
};
2025-03-21 15:01:39 +00:00
boot = {
loader = {
systemd-boot = {
enable = true;
configurationLimit = 10;
};
efi = {
canTouchEfiVariables = true;
};
};
};
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
networking.networkmanager.enable = true;
security = {
polkit.enable = true;
rtkit.enable = true;
};
environment.systemPackages = with pkgs; [
gtypist
pam_gnupg
sxiv
ttyper
yt-dlp
];
networking.hosts = {
"192.168.1.116" = [ "nixedo" ];
};
system.autoUpgrade.enable = true;
2025-03-21 15:01:39 +00:00
}