2022-02-05 21:42:36 +02:00
|
|
|
{ config, pkgs, aspect, inputs, hosts, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
2022-08-29 23:25:07 +03:00
|
|
|
./extras/fprint.nix
|
2022-02-05 21:42:36 +02:00
|
|
|
./extras/i915-dp-hdmi-always-full-color-patch.nix
|
|
|
|
./extras/kernel-clr.nix
|
|
|
|
./extras/thermal.nix
|
|
|
|
(import ../../users "desktop").users.max
|
|
|
|
inputs.nixos-hardware.nixosModules.dell-xps-13-7390
|
|
|
|
inputs.agenix.nixosModules.age
|
|
|
|
]
|
|
|
|
++ aspect.sets.laptop
|
|
|
|
++ (with aspect.modules; [ games ]);
|
|
|
|
|
2022-08-28 03:49:55 +03:00
|
|
|
boot.kernelPackages = pkgs.linuxPackages_5_19;
|
2022-02-05 21:42:36 +02:00
|
|
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
networking.hostName = "jericho";
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Vienna";
|
|
|
|
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
console = {
|
|
|
|
font = "";
|
|
|
|
keyMap = "us";
|
|
|
|
};
|
|
|
|
|
|
|
|
services.xserver.layout = "us";
|
|
|
|
|
|
|
|
services.xserver.libinput.enable = true;
|
|
|
|
|
|
|
|
services.openssh.enable = true;
|
|
|
|
|
|
|
|
system.stateVersion = "20.09";
|
|
|
|
|
|
|
|
services.fstrim.enable = true;
|
|
|
|
|
|
|
|
services.ipfs.dataDir = "/srv/data/ipfs";
|
|
|
|
}
|
|
|
|
|