48 lines
1.2 KiB
Nix
48 lines
1.2 KiB
Nix
{ inputs, config, pkgs, lib, ... }:
|
|
{
|
|
# Bootloader
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
|
|
|
boot.binfmt.emulatedSystems = [
|
|
"riscv64-linux"
|
|
];
|
|
|
|
services.nfs.server.enable = false; # TODO: remove?
|
|
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
inputs.nixos-hardware.nixosModules.common-pc
|
|
inputs.nixos-hardware.nixosModules.common-pc-ssd
|
|
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
|
../../../hardware/gpu/intel.nix
|
|
../../../hardware/gpu/rocm.nix
|
|
|
|
../../../profiles/sshd
|
|
../../../profiles/nix-cgroups.nix
|
|
|
|
../../../users/pbsds
|
|
../../../users/bartvbl
|
|
|
|
../garp/sftp.nix
|
|
|
|
../../../users/pbsds/syncthing.nix
|
|
../../../profiles/mounts/panorama-zfs.nix
|
|
|
|
../../../profiles/shell.nix
|
|
|
|
# ../../../profiles/domeneshop-dyndns.nix
|
|
../../../profiles/known-hosts
|
|
];
|
|
# services.domeneshop-updater.targets = [ config.networking.fqdn ];
|
|
|
|
networking.hostId = "43c43ded"; # needed for zfs: head -c 8 /etc/machine-id
|
|
|
|
# Networking
|
|
networking.networkmanager.enable = true;
|
|
|
|
# TODO: remove? Move?
|
|
programs.dconf.enable = true;
|
|
}
|