config/hosts/nixos/garp/configuration.nix

49 lines
1.3 KiB
Nix
Raw Permalink Normal View History

2023-09-29 15:59:42 +02:00
{ config, pkgs, lib, ... }:
{
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
2024-10-07 11:22:08 +02:00
boot.binfmt.emulatedSystems = [
"riscv64-linux"
];
2023-09-29 15:59:42 +02:00
#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-11-15 04:49:41 +01:00
# The open source driver does not support Pascal GPUs (1080)
# https://github.com/NixOS/nixos-hardware/blob/master/common/gpu/nvidia/pascal/default.nix
hardware.nvidia.open = false;
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
#../../../profiles/no-suspend.nix
#../../../profiles/oci/podman.nix
../../../profiles/oci/docker.nix
../../../users/pbsds
../../../users/daniel
../../../users/eirikwit
../../../users/h7x4
../../../users/adrlau
../../../profiles/shell.nix
../../../profiles/domeneshop-dyndns.nix
../../../profiles/known-hosts.nix
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
# Networking
networking.networkmanager.enable = true;
# TODO: remove? Move?
programs.dconf.enable = true;
}