2023-09-17 16:59:42 +02:00
|
|
|
{ config, pkgs, ... }:
|
2023-09-14 11:54:51 +02:00
|
|
|
{
|
2025-02-02 11:23:32 +01:00
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
../../modules/base.nix
|
|
|
|
../../modules/base-efi-systemd.nix
|
|
|
|
../../modules/base-graphical.nix
|
2023-10-09 12:13:36 +02:00
|
|
|
|
2025-02-02 11:23:32 +01:00
|
|
|
# Remote unlock
|
|
|
|
../../modules/ssh-fde-unlock.nix
|
|
|
|
# Remote deployment
|
|
|
|
../../modules/ssh-server.nix
|
2023-11-14 18:59:31 +01:00
|
|
|
|
2025-02-02 11:23:32 +01:00
|
|
|
../../modules/gnome-base.nix
|
|
|
|
../../modules/gnome-fractional-scaling.nix
|
|
|
|
../../modules/fwupd-gnome.nix
|
|
|
|
../../modules/programs-gnome.nix
|
2023-09-14 11:54:51 +02:00
|
|
|
|
2025-02-02 11:23:32 +01:00
|
|
|
../../modules/programs-base.nix
|
|
|
|
../../modules/print-and-scan.nix
|
|
|
|
];
|
2024-08-18 19:01:05 +02:00
|
|
|
|
2023-09-14 11:54:51 +02:00
|
|
|
networking.hostName = "yodaYoga";
|
2023-09-25 21:21:53 +02:00
|
|
|
boot.initrd.luks.devices."luks-a8521407-e25b-4f26-8e7a-a56fcbfd2e35".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 = [
|
2025-02-15 23:37:39 +01:00
|
|
|
# If the CPU is vulnerable, enable all available mitigations
|
|
|
|
# except `nosmt` as we don't run any VMs on this machine.
|
|
|
|
"mds=full"
|
2023-11-16 11:08:11 +01:00
|
|
|
];
|
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 = "23.05";
|
2023-09-14 11:54:51 +02:00
|
|
|
}
|