mirror of
https://github.com/Ascyii/nixos.git
synced 2026-01-01 14:54:26 -05:00
48 lines
792 B
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";
|
|
}
|