2022-02-05 21:42:36 +02:00
|
|
|
{ config, pkgs, aspect, inputs, hosts, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
2022-09-24 22:47:50 +03:00
|
|
|
./extras/custom-kernel.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
|
2023-01-13 00:58:33 +02:00
|
|
|
./extras/lanzaboote.nix
|
2022-02-05 21:42:36 +02:00
|
|
|
./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 ]);
|
|
|
|
|
2023-01-13 21:46:12 +02:00
|
|
|
boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.linux_6_1.override {
|
2022-09-24 22:47:50 +03:00
|
|
|
ignoreConfigErrors = true;
|
|
|
|
});
|
2022-02-05 21:42:36 +02:00
|
|
|
|
|
|
|
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;
|
|
|
|
|
2022-10-15 12:06:25 +03:00
|
|
|
services.kubo.dataDir = "/srv/data/ipfs";
|
2022-02-05 21:42:36 +02:00
|
|
|
}
|
|
|
|
|