mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-24 22:29:33 +01:00
46 lines
1.3 KiB
Nix
46 lines
1.3 KiB
Nix
{ config, pkgs, ... }:
|
|
{
|
|
imports =
|
|
[
|
|
./hardware-configuration.nix
|
|
./host-specific.nix
|
|
../../modules/home-manager.nix
|
|
../../modules/nur-and-unstable.nix
|
|
../../modules/base.nix
|
|
../../modules/headless.nix
|
|
|
|
../../modules/ssh-fde-unlock.nix
|
|
#../../modules/git.nix
|
|
../../modules/zsh.nix
|
|
#../../modules/ssh-client.nix
|
|
../../modules/ssh-server.nix
|
|
|
|
#../../modules/podman.nix
|
|
../../modules/docker.nix
|
|
#../../modules/docker-pushrm.nix
|
|
|
|
../../modules/sendmail-mta.nix
|
|
../../modules/journalwatch.nix
|
|
|
|
../../modules/btrbk
|
|
./btrbk-config.nix
|
|
../../modules/netcup-dns.nix
|
|
../../modules/de-p1st-monitor.nix
|
|
../../modules/spin-down.nix
|
|
|
|
../../modules/btrfs-scrub.nix
|
|
../../modules/btrfs-mount-options.nix
|
|
];
|
|
|
|
networking.hostName = "yodaNas";
|
|
boot.initrd.luks.devices."luks-3d974bd0-f373-469b-8e9c-2d5516e9f0f5".allowDiscards = true;
|
|
yoda.btrfsFileSystems = ["/" "/mnt/data" "/mnt/backup"];
|
|
#yoda.btrfsMounts = yoda.btrfsFileSystems;
|
|
|
|
boot.kernelParams = [
|
|
# Microarchitectural Data Sampling (MDS), see https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html#mitigation-control-on-the-kernel-command-line
|
|
"mds=full,nosmt"
|
|
];
|
|
boot.kernelPackages = pkgs.linuxPackages;
|
|
}
|