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
|
2023-09-07 22:15:58 +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-02 15:33:36 +02:00
|
|
|
../../modules/base.nix
|
2024-02-06 17:06:07 +01:00
|
|
|
../../modules/base-efi.nix
|
2024-02-23 13:53:27 +01:00
|
|
|
../../modules/xdg.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/ntfs.nix
|
|
|
|
../../modules/git.nix
|
|
|
|
../../modules/zsh.nix
|
|
|
|
../../modules/nitrokey-gpg-smartcard.nix
|
|
|
|
../../modules/ssh-client.nix
|
|
|
|
../../modules/ssh-server.nix
|
|
|
|
../../modules/lid-switch-handling.nix
|
|
|
|
|
|
|
|
../../modules/btrfs-scrub.nix
|
|
|
|
../../modules/btrfs-mount-options.nix
|
2023-10-09 12:13:36 +02:00
|
|
|
|
2024-10-16 16:48:58 +02:00
|
|
|
#../../modules/kde.nix
|
2023-10-09 12:05:56 +02:00
|
|
|
../../modules/gnome-base.nix
|
2023-10-09 12:13:36 +02:00
|
|
|
../../modules/gnome-config.nix
|
|
|
|
../../modules/gnome-extensions.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
|
2024-02-04 15:03:53 +01:00
|
|
|
../../modules/gnome-wallpaper.nix
|
2023-10-09 12:13:36 +02:00
|
|
|
|
2024-02-04 15:03:53 +01:00
|
|
|
#../../modules/gnome-terminal.nix
|
2024-01-13 22:04:09 +01:00
|
|
|
../../modules/blackbox.nix
|
2024-02-04 15:03:53 +01: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-02-08 20:57:06 +01:00
|
|
|
../../modules/file-roller.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
|
2023-10-18 13:29:14 +02:00
|
|
|
../../modules/signal-desktop.nix
|
2024-10-29 10:47:50 +01:00
|
|
|
#../../modules/element-desktop.nix
|
2023-11-28 15:23:44 +01:00
|
|
|
../../modules/obsidian.nix
|
2024-01-07 22:35:38 +01:00
|
|
|
../../modules/vlc-dvd-blu-ray.nix
|
2023-09-11 13:05:48 +02:00
|
|
|
../../modules/firefox.nix
|
2023-09-07 22:15:58 +02:00
|
|
|
../../modules/thunderbird.nix
|
2023-11-21 12:07:43 +01:00
|
|
|
../../modules/tor-browser.nix
|
2024-10-07 20:04:28 +02: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
|
2023-10-06 12:04:48 +02:00
|
|
|
../../modules/ghostwriter.nix
|
2023-11-21 12:07:43 +01:00
|
|
|
../../modules/print-and-scan.nix
|
|
|
|
#../../modules/waydroid.nix
|
2024-10-09 19:42:31 +02:00
|
|
|
../../modules/uni-vpn.nix
|
2023-11-14 18:59:31 +01:00
|
|
|
|
2024-10-16 16:48:58 +02:00
|
|
|
#../../modules/games.nix
|
|
|
|
#../../modules/dosbox-x.nix
|
|
|
|
|
2023-11-21 12:07:43 +01:00
|
|
|
../../modules/autostart.nix
|
2023-10-08 22:02:21 +02:00
|
|
|
|
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
|
2024-01-04 11:23:51 +01:00
|
|
|
|
2024-10-16 16:48:58 +02:00
|
|
|
#../../modules/boxes.nix
|
|
|
|
#../../modules/virtualbox.nix
|
2024-10-22 12:01:11 +02:00
|
|
|
../../modules/docker.nix
|
2024-01-04 11:23:51 +01:00
|
|
|
#../../modules/docker-pushrm.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
|
|
|
|
2024-09-04 22:16:59 +02:00
|
|
|
# Fix touchpad/keyboard issue during boot.
|
|
|
|
# TODO neither touch nor keyboard work
|
|
|
|
# TODO try again with initrd.systemd.enable, see below. but disable Plymouth in that case
|
|
|
|
#boot.initrd.unl0kr.enable = true;
|
|
|
|
|
2024-10-15 11:34:15 +02:00
|
|
|
# TODO
|
2024-09-04 22:16:59 +02:00
|
|
|
# Motivation behind bare bones systemd-based initrd: https://github.com/NixOS/nixpkgs/pull/164943
|
2024-10-15 11:34:15 +02:00
|
|
|
#boot.initrd.systemd.enable = true;
|
2024-09-04 22:16:59 +02:00
|
|
|
|
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
|
|
|
}
|