2023-09-17 16:59:42 +02:00
{ config , pkgs , . . . }:
2023-09-14 11:54:51 +02:00
{
imports =
[
./hardware-configuration.nix
2023-10-09 12:37:26 +02:00
./host-specific.nix
2023-09-14 11:54:51 +02:00
../../modules/home-manager.nix
2023-10-20 15:01:12 +02:00
../../modules/nur-and-unstable.nix
2024-08-13 14:46:55 +02:00
../../modules/unfree.nix
2023-09-14 11:54:51 +02:00
../../modules/base.nix
2024-02-06 17:06:07 +01:00
../../modules/base-efi.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-14 11:54:51 +02:00
../../modules/zsh.nix
2023-09-16 12:14:53 +02:00
../../modules/ssh-server.nix
2023-09-14 15:54:48 +02:00
../../modules/docker.nix
2023-11-14 18:59:31 +01:00
2023-09-16 17:23:06 +02:00
../../modules/lid-switch-handling.nix
2023-09-18 15:32:43 +02:00
../../modules/sendmail-mta.nix
../../modules/journalwatch.nix
2023-11-14 18:59:31 +01:00
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-14 11:54:51 +02:00
] ;
2024-09-26 17:06:04 +02:00
#foo = throw "NixOS rebuild boot required to update to 24.05";
2024-08-18 19:01:05 +02:00
2023-09-14 11:54:51 +02:00
networking . hostName = " y o d a Y o g a " ;
2023-09-25 21:21:53 +02:00
boot . initrd . luks . devices . " l u k s - a 8 5 2 1 4 0 7 - e 2 5 b - 4 f 2 6 - 8 e 7 a - a 5 6 f c b f d 2 e 3 5 " . allowDiscards = true ;
2023-10-09 10:46:57 +02:00
yoda . btrfsFileSystems = [ " / " ] ;
#yoda.btrfsMounts = yoda.btrfsFileSystems;
2023-09-20 22:23:48 +02:00
2023-11-16 11:08:11 +01:00
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
" m d s = f u l l , n o s m t "
] ;
2023-09-20 22:23:48 +02:00
boot . kernelPackages = pkgs . linuxPackages ;
2023-12-15 13:03:18 +01:00
2024-02-07 14:29:55 +01:00
# Most users should never change this value after the initial install, for any reason, even if you've upgraded your system to a new NixOS release.
2023-12-15 13:03:18 +01:00
system . stateVersion = " 2 3 . 0 5 " ;
2023-09-14 11:54:51 +02:00
}