2023-11-03 15:23:05 +01:00
|
|
|
{ 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
|
2023-11-18 13:01:18 +01:00
|
|
|
./ssh-client-root.nix
|
2023-11-03 15:23:05 +01:00
|
|
|
../../modules/ssh-server.nix
|
2023-11-14 18:59:31 +01:00
|
|
|
|
2023-11-03 16:12:39 +01:00
|
|
|
../../modules/sendmail-mta.nix
|
|
|
|
../../modules/journalwatch.nix
|
2023-11-14 18:59:31 +01:00
|
|
|
|
2023-11-18 12:02:52 +01:00
|
|
|
../../modules/btrbk
|
|
|
|
./btrbk-config.nix
|
2023-11-15 13:53:19 +01:00
|
|
|
../../modules/de-p1st-monitor.nix
|
2023-11-23 20:11:28 +01:00
|
|
|
../../modules/spin-down/hdparm.nix
|
|
|
|
../../modules/spin-down/hd-idle.nix
|
2023-11-03 15:23:05 +01:00
|
|
|
|
|
|
|
../../modules/btrfs-scrub.nix
|
|
|
|
../../modules/btrfs-mount-options.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
networking.hostName = "yodaHedgehog";
|
|
|
|
boot.initrd.luks.devices."crypted".allowDiscards = true;
|
2023-11-05 18:40:04 +01:00
|
|
|
yoda.btrfsFileSystems = ["/" "/mnt/backup"];
|
2023-11-03 15:23:05 +01:00
|
|
|
#yoda.btrfsMounts = yoda.btrfsFileSystems;
|
2023-11-23 20:11:28 +01:00
|
|
|
yoda.spin-down.hdparm = [
|
|
|
|
# 6tb1
|
|
|
|
"ata-WDC_WD60EFAX-68SHWN0_WD-WX31D29924PZ"
|
|
|
|
];
|
|
|
|
yoda.spin-down.hd-idle = [
|
|
|
|
# 6tb2; not supported by hdparm / does not support setting idle timer
|
|
|
|
"ata-ST6000DM003-2CY186_ZR11WA9K"
|
|
|
|
];
|
2023-11-28 15:19:30 +01:00
|
|
|
yoda.de-p1st-monitor = (builtins.readFile ../../assets/de-p1st-monitor/yodaHedgehog.ini);
|
2023-11-03 15:23:05 +01:00
|
|
|
|
|
|
|
boot.kernelParams = [];
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages;
|
|
|
|
}
|