Files
nixos/hosts/thinix-thinkpad/configuration.nix

48 lines
792 B
Nix

{ pkgs, ... }:
{
imports = [
./hardware-configuration.nix
./../../user/users.nix
./../../modules/common.nix
./../../modules/hardware/xremap.nix
./../../modules/hardware/battery.nix
./../../modules/graphics/workstation.nix
./../../modules/services/webdav.nix.nix
./../../modules/services/scanning.nix.nix
];
networking.hostName = "thinix";
batMode = "double";
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
programs.gnupg.agent = {
enable = true;
pinentryPackage = with pkgs; pinentry-all;
enableSSHSupport = true;
};
networking = {
networkmanager = {
wifi.powersave = true;
};
};
swapDevices = [
{
device = "/swapfile";
size = 4096;
}
];
# Older machine
system.stateVersion = "24.11";
}