nix-git/hosts/yodaNas/configuration.nix

41 lines
1.1 KiB
Nix
Raw Normal View History

2023-09-23 18:36:27 +02:00
{ config, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
2023-10-09 12:37:26 +02:00
./host-specific.nix
2023-09-23 18:36:27 +02:00
../../modules/home-manager.nix
2023-10-20 15:01:12 +02:00
../../modules/nur-and-unstable.nix
2023-09-23 18:36:27 +02:00
../../modules/base.nix
2023-10-09 12:05:56 +02:00
../../modules/headless.nix
2023-10-09 12:13:36 +02:00
2023-11-03 16:14:15 +01:00
../../modules/ssh-fde-unlock.nix
2023-09-23 18:36:27 +02:00
#../../modules/git.nix
../../modules/zsh.nix
#../../modules/ssh-client.nix
../../modules/ssh-server.nix
2023-11-14 18:59:31 +01:00
2023-09-23 18:36:27 +02:00
#../../modules/podman.nix
../../modules/docker.nix
#../../modules/docker-pushrm.nix
2023-11-14 18:59:31 +01:00
2023-09-23 18:36:27 +02:00
../../modules/sendmail-mta.nix
../../modules/journalwatch.nix
2023-11-14 18:59:31 +01:00
2023-09-27 18:56:12 +02:00
../../modules/btrbk
2023-11-14 18:54:13 +01:00
../../modules/de-p1st-monitor.nix
2023-10-03 12:48:52 +02:00
../../modules/spin-down.nix
2023-10-08 22:02:21 +02:00
../../modules/btrfs-scrub.nix
2023-10-09 10:46:57 +02:00
../../modules/btrfs-mount-options.nix
2023-09-23 18:36:27 +02:00
];
networking.hostName = "yodaNas";
2023-09-26 18:21:57 +02:00
boot.initrd.luks.devices."luks-3d974bd0-f373-469b-8e9c-2d5516e9f0f5".allowDiscards = true;
2023-10-09 10:46:57 +02:00
yoda.btrfsFileSystems = ["/" "/mnt/data" "/mnt/backup"];
#yoda.btrfsMounts = yoda.btrfsFileSystems;
2023-09-23 18:36:27 +02:00
boot.kernelParams = [];
boot.kernelPackages = pkgs.linuxPackages;
}