nix-git/hosts/yodaNas/configuration.nix

42 lines
1.1 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
../../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 = [];
boot.kernelPackages = pkgs.linuxPackages;
}