2023-09-29 15:59:42 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
# Bootloader.
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
2024-01-18 18:57:27 +01:00
|
|
|
/** /
|
2023-09-29 15:59:42 +02:00
|
|
|
services.xserver.displayManager.autoLogin.enable = true;
|
|
|
|
services.xserver.displayManager.autoLogin.user = "pbsds";
|
|
|
|
# tmp: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
|
|
|
|
systemd.services."getty@tty1".enable = false;
|
|
|
|
systemd.services."autovt@tty1".enable = false;
|
|
|
|
|
|
|
|
#boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
#hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.latest;
|
|
|
|
#hardware.nvidia.modesetting.enable = false; # makes atom behave, but mpv refuses to start
|
2024-01-18 18:57:27 +01:00
|
|
|
/**/
|
2023-09-29 15:59:42 +02:00
|
|
|
|
|
|
|
# PRIME: (lspci)
|
|
|
|
#hardware.nvidia.prime.intelBusId = "PCI:0:02:0";
|
|
|
|
#hardware.nvidia.prime.nvidiaBusId = "PCI:1:00:0";
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
../../profiles/sshd.nix
|
2024-01-18 18:57:27 +01:00
|
|
|
#../../profiles/no-suspend.nix
|
2023-11-10 22:54:07 +01:00
|
|
|
#../../profiles/podman.nix
|
|
|
|
#../../profiles/docker.nix
|
2023-09-29 15:59:42 +02:00
|
|
|
|
|
|
|
../../users/pbsds
|
|
|
|
|
2024-03-26 18:27:48 +01:00
|
|
|
../../profiles/shell.nix
|
2023-09-29 15:59:42 +02:00
|
|
|
|
2024-01-18 18:57:27 +01:00
|
|
|
#../../profiles/desktop/base.nix
|
2023-11-10 22:54:07 +01:00
|
|
|
#../../profiles/desktop/gnome # configures gdm
|
|
|
|
##../../profiles/desktop/sound/alsa.nix
|
|
|
|
##../../profiles/desktop/sound/pulseaudio.nix
|
|
|
|
#../../profiles/desktop/sound/pipewire.nix
|
2023-09-29 15:59:42 +02:00
|
|
|
|
2023-11-10 22:54:07 +01:00
|
|
|
../../profiles/domeneshop-dyndns
|
2023-09-29 15:59:42 +02:00
|
|
|
];
|
2023-10-14 18:23:24 +02:00
|
|
|
services.domeneshop-updater.targets = [ config.networking.fqdn ];
|
2023-09-29 15:59:42 +02:00
|
|
|
|
2023-09-30 02:01:55 +02:00
|
|
|
#networking.firewall.allowedTCPPorts = [ 57621 ]; # spotify local discovery
|
2023-09-29 15:59:42 +02:00
|
|
|
|
|
|
|
# Networking
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
|
|
|
|
# TODO: remove? Move?
|
|
|
|
programs.dconf.enable = true;
|
|
|
|
|
|
|
|
# Enable touchpad support (enabled default in most desktopManager).
|
|
|
|
# services.xserver.libinput.enable = true;
|
|
|
|
}
|