2023-09-17 16:59:42 +02:00
|
|
|
{ config, pkgs, ... }:
|
2023-08-15 19:13:43 +02:00
|
|
|
{
|
|
|
|
imports =
|
2023-09-07 22:15:58 +02:00
|
|
|
[
|
2023-08-15 19:13:43 +02:00
|
|
|
./hardware-configuration.nix
|
2025-01-09 18:04:34 +01:00
|
|
|
|
2023-09-02 15:33:36 +02:00
|
|
|
../../modules/base.nix
|
2024-11-26 10:12:46 +01:00
|
|
|
../../modules/base-efi-systemd.nix
|
2025-02-02 11:23:32 +01:00
|
|
|
../../modules/base-graphical.nix
|
2023-12-21 18:21:12 +01:00
|
|
|
../../modules/power-management.nix
|
2024-09-09 14:59:13 +02:00
|
|
|
../../modules/usb-mtp-ptp.nix
|
2023-11-21 12:07:43 +01:00
|
|
|
../../modules/lid-switch-handling.nix
|
|
|
|
|
2023-10-09 12:05:56 +02:00
|
|
|
../../modules/gnome-base.nix
|
2023-11-21 12:07:43 +01:00
|
|
|
# Not required as display scale is set 2.0 (multiple of 1).
|
2023-10-09 12:13:36 +02:00
|
|
|
#../../modules/gnome-fractional-scaling.nix
|
2023-11-21 12:07:43 +01:00
|
|
|
../../modules/fwupd-gnome.nix
|
2025-01-02 23:28:12 +01:00
|
|
|
../../modules/programs-gnome.nix
|
2023-10-09 12:13:36 +02:00
|
|
|
|
2024-02-06 20:18:48 +01:00
|
|
|
../../modules/programs-base.nix
|
2024-02-04 15:03:53 +01:00
|
|
|
../../modules/programs.nix
|
2024-02-06 19:05:01 +01:00
|
|
|
../../modules/flatpak.nix
|
2024-10-17 15:50:37 +02:00
|
|
|
../../modules/rnote.nix
|
2024-08-17 14:38:35 +02:00
|
|
|
../../modules/ausweisapp.nix
|
2024-02-06 17:26:15 +01:00
|
|
|
../../modules/nextcloud-client.nix
|
2023-11-28 15:24:57 +01:00
|
|
|
../../modules/syncthing.nix
|
2024-11-17 22:42:08 +01:00
|
|
|
../../modules/element-desktop.nix
|
2023-11-28 15:23:44 +01:00
|
|
|
../../modules/obsidian.nix
|
2023-11-21 12:07:43 +01:00
|
|
|
../../modules/tor-browser.nix
|
2024-12-15 15:20:43 +01:00
|
|
|
#../../modules/tor.nix
|
2023-12-19 14:03:39 +01:00
|
|
|
#../../modules/digikam-rawtherapee-hugin-gimp.nix
|
2023-11-21 12:07:43 +01:00
|
|
|
../../modules/freetube.nix
|
|
|
|
../../modules/print-and-scan.nix
|
|
|
|
#../../modules/waydroid.nix
|
2024-10-09 19:42:31 +02:00
|
|
|
../../modules/uni-vpn.nix
|
2025-01-09 18:04:34 +01:00
|
|
|
#../../modules/epa.nix
|
2023-11-14 18:59:31 +01:00
|
|
|
|
2025-02-15 23:37:39 +01:00
|
|
|
#../../modules/autostart.nix
|
2023-10-08 22:02:21 +02:00
|
|
|
|
2025-02-02 11:23:32 +01:00
|
|
|
#
|
|
|
|
# Development
|
|
|
|
#
|
|
|
|
|
|
|
|
../../modules/git.nix
|
|
|
|
../../modules/nitrokey-gpg-smartcard.nix
|
|
|
|
../../modules/ssh-client.nix
|
|
|
|
../../modules/ssh-server.nix
|
|
|
|
|
2023-11-21 12:07:43 +01:00
|
|
|
../../modules/jetbrains-ide.nix
|
2024-10-16 16:48:58 +02:00
|
|
|
#../../modules/vscodium.nix
|
|
|
|
#../../modules/android.nix
|
|
|
|
#../../modules/pmbootstrap.nix
|
2023-08-15 19:13:43 +02:00
|
|
|
];
|
|
|
|
|
2023-08-31 15:24:08 +02:00
|
|
|
networking.hostName = "yodaTab";
|
2023-09-25 21:21:53 +02:00
|
|
|
boot.initrd.luks.devices."luks-ba8b94d0-7f70-496a-ad87-eadc5e852aad".allowDiscards = true;
|
|
|
|
boot.initrd.luks.devices."512gb".allowDiscards = true;
|
2023-10-09 10:46:57 +02:00
|
|
|
yoda.btrfsFileSystems = ["/"];
|
|
|
|
#yoda.btrfsMounts = yoda.btrfsFileSystems;
|
2023-10-09 11:35:35 +02:00
|
|
|
fileSystems."/mnt/512gb".options = [ "noatime" "commit=60" ]; # Ext4
|
2023-09-20 22:23:48 +02:00
|
|
|
|
2025-02-15 23:37:39 +01:00
|
|
|
boot.kernelParams = [
|
|
|
|
# If the CPU is vulnerable, enable all available mitigations
|
|
|
|
# except `nosmt` as we don't run any VMs on this machine.
|
|
|
|
"mds=full"
|
|
|
|
];
|
2023-09-20 22:23:48 +02:00
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
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-08-15 19:13:43 +02:00
|
|
|
}
|