nix-dotfiles/hosts/dosei/configuration.nix

86 lines
1.5 KiB
Nix
Raw Normal View History

{ config, pkgs, ... }:
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;
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
};
hardware = {
bluetooth.enable = true;
enableRedistributableFirmware = true;
keyboard.zsa.enable = true;
};
}