2024-11-18 14:28:21 +01:00
|
|
|
{ config, pkgs, lib, ... }:
|
2024-06-26 20:37:40 +02:00
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
2024-09-25 13:00:06 +02:00
|
|
|
./programs/nrfutil.nix
|
|
|
|
|
2024-06-26 20:37:40 +02:00
|
|
|
./services/avahi.nix
|
|
|
|
./services/docker.nix
|
|
|
|
./services/jenkins.nix
|
2024-08-05 16:37:18 +02:00
|
|
|
./services/logiops.nix
|
2024-06-29 02:14:31 +02:00
|
|
|
./services/wstunnel.nix
|
2024-06-26 20:37:40 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
boot.binfmt.emulatedSystems = [
|
|
|
|
"aarch64-linux"
|
|
|
|
"armv7l-linux"
|
|
|
|
];
|
|
|
|
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
|
|
|
|
services.udev.packages = with pkgs; [
|
|
|
|
segger-jlink
|
|
|
|
];
|
|
|
|
|
|
|
|
system.stateVersion = "24.05";
|
|
|
|
|
|
|
|
machineVars = {
|
|
|
|
headless = false;
|
|
|
|
gaming = false;
|
|
|
|
development = true;
|
|
|
|
creative = true;
|
|
|
|
|
2024-12-06 10:31:35 +01:00
|
|
|
wayland = true;
|
|
|
|
|
2024-06-26 20:37:40 +02:00
|
|
|
dataDrives = let
|
|
|
|
main = "/data";
|
|
|
|
in {
|
|
|
|
drives = { inherit main; };
|
|
|
|
default = main;
|
|
|
|
};
|
|
|
|
|
|
|
|
screens = {
|
|
|
|
DP-1 = {
|
|
|
|
primary = true;
|
|
|
|
frequency = 60;
|
|
|
|
};
|
|
|
|
DP-2 = {
|
|
|
|
frequency = 60;
|
|
|
|
position = "1920x0";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
systemd.targets = {
|
|
|
|
sleep.enable = false;
|
|
|
|
suspend.enable = false;
|
|
|
|
hibernate.enable = false;
|
|
|
|
hybrid-sleep.enable = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
hostName = "dosei";
|
2024-08-05 16:37:18 +02:00
|
|
|
networkmanager.enable = true;
|
2024-06-26 20:37:40 +02:00
|
|
|
# TODO: reenable
|
|
|
|
firewall.enable = false;
|
|
|
|
# hostId = "";
|
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
|
|
|
openssh = {
|
|
|
|
enable = true;
|
|
|
|
settings.X11Forwarding = true;
|
|
|
|
};
|
2024-08-05 16:37:18 +02:00
|
|
|
blueman.enable = true;
|
|
|
|
fstrim.enable = true;
|
2024-06-26 20:37:40 +02:00
|
|
|
};
|
|
|
|
|
2024-11-18 14:28:21 +01:00
|
|
|
nix.buildMachines = lib.mkForce [ ];
|
|
|
|
|
2024-06-26 20:37:40 +02:00
|
|
|
hardware = {
|
|
|
|
bluetooth.enable = true;
|
|
|
|
enableRedistributableFirmware = true;
|
|
|
|
keyboard.zsa.enable = true;
|
|
|
|
};
|
|
|
|
}
|