mirror of
https://github.com/Ascyii/nixos.git
synced 2026-01-01 06:44:26 -05:00
48 lines
875 B
Nix
48 lines
875 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./../../user/users.nix
|
|
|
|
./../../modules/common.nix
|
|
|
|
./../../modules/hardware/xremap.nix
|
|
./../../modules/hardware/battery.nix
|
|
];
|
|
|
|
networking.hostName = "thinix";
|
|
batMode = "double";
|
|
|
|
programs.gnupg.agent = {
|
|
enable = true;
|
|
pinentryPackage = with pkgs; pinentry-all;
|
|
enableSSHSupport = true;
|
|
};
|
|
|
|
# Scanning over the network support
|
|
hardware.sane.enable = true;
|
|
hardware.sane.extraBackends = [ pkgs.sane-airscan ];
|
|
hardware.sane.disabledDefaultBackends = [ "escl" ];
|
|
services.udev.packages = [ pkgs.sane-airscan ];
|
|
services.avahi.enable = true;
|
|
services.avahi.nssmdns = true;
|
|
|
|
services.davfs2.enable = true;
|
|
|
|
networking = {
|
|
networkmanager = {
|
|
wifi.powersave = true;
|
|
};
|
|
};
|
|
|
|
swapDevices = [
|
|
{
|
|
device = "/swapfile";
|
|
size = 4096;
|
|
}
|
|
];
|
|
|
|
system.stateVersion = "24.11";
|
|
}
|