nix/os/devices/sj-vps-htz0: bump versions nix/os/devices/elias-e525: bump versions nix/os/devices/steveej-t14: bump versions nix/os/devices/justyna-p300: bump versions
48 lines
1.1 KiB
Nix
48 lines
1.1 KiB
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: let
|
|
in {
|
|
# TASK: new device
|
|
networking.hostName = "elias-e525"; # Define your hostname.
|
|
|
|
networking.firewall.enable = true;
|
|
networking.firewall.allowedTCPPorts = [
|
|
# iperf3
|
|
5201
|
|
];
|
|
|
|
networking.firewall.logRefusedConnections = false;
|
|
networking.usePredictableInterfaceNames = false;
|
|
|
|
services.fprintd.enable = true;
|
|
security.pam.services = {
|
|
login.fprintAuth = true;
|
|
sudo.fprintAuth = true;
|
|
};
|
|
|
|
services = {
|
|
xserver = {
|
|
layout = lib.mkForce "de";
|
|
xkbVariant = lib.mkForce "";
|
|
xkbOptions = lib.mkForce "";
|
|
displayManager.autoLogin.enable = lib.mkForce false;
|
|
displayManager.gdm.enable = lib.mkForce true;
|
|
displayManager.lightdm.enable = lib.mkForce false;
|
|
desktopManager.gnome.enable = true;
|
|
};
|
|
|
|
# dbus.packages = [ pkgs.gnome3.dconf ];
|
|
# udev.packages = [ pkgs.gnome3.gnome-settings-daemon ];
|
|
};
|
|
|
|
security.pki.certificateFiles = ["${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"];
|
|
|
|
services.xserver.videoDrivers = ["modesetting"];
|
|
|
|
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_latest;
|
|
|
|
nix.gc = {automatic = true;};
|
|
}
|