nix-git/hosts/yodaTux/configuration.nix

83 lines
2.8 KiB
Nix
Raw Normal View History

2023-09-02 15:44:33 +02:00
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running `nixos-help`).
2023-09-17 16:59:42 +02:00
{ config, pkgs, ... }:
2023-09-02 15:44:33 +02:00
{
imports =
2023-09-07 22:15:58 +02:00
[
2023-09-02 15:44:33 +02:00
./hardware-configuration.nix
2023-09-07 22:15:58 +02:00
../../modules/home-manager.nix
2023-09-12 12:43:51 +02:00
../../modules/nur.nix
2023-09-02 15:44:33 +02:00
../../modules/base.nix
2023-10-09 12:05:56 +02:00
#../../modules/headless.nix
2023-10-09 12:13:36 +02:00
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
../../modules/gnome-fractional-scaling.nix
2023-09-02 15:44:33 +02:00
../../modules/programs.nix
2023-10-12 22:38:03 +02:00
../../modules/boxes.nix
2023-10-18 17:47:26 +02:00
../../modules/freetube.nix
2023-10-19 11:56:37 +02:00
../../modules/vscodium.nix
../../modules/signal-desktop.nix
../../modules/element-desktop.nix
2023-10-20 14:58:29 +02:00
../../modules/joplin-desktop.nix
2023-10-18 17:23:39 +02:00
../../modules/tor-browser.nix
2023-09-07 20:20:29 +02:00
../../modules/autostart.nix
2023-09-11 18:08:28 +02:00
../../modules/wallpaper.nix
2023-09-14 11:53:32 +02:00
../../modules/fwupd-gnome.nix
2023-09-02 15:44:33 +02:00
../../modules/print-and-scan.nix
2023-09-11 16:49:23 +02:00
#../../modules/fde-ssh-unlock.nix
2023-09-02 15:44:33 +02:00
../../modules/nextcloud-integration.nix
2023-09-07 22:15:58 +02:00
../../modules/git.nix
../../modules/zsh.nix
2023-09-11 14:05:02 +02:00
../../modules/nitrokey-gpg-smartcard.nix
2023-09-16 12:14:53 +02:00
../../modules/ssh-client.nix
../../modules/ssh-server.nix
2023-09-11 13:05:48 +02:00
../../modules/firefox.nix
2023-09-07 22:15:58 +02:00
../../modules/thunderbird.nix
2023-09-16 15:17:17 +02:00
../../modules/digikam-rawtherapee.nix
2023-10-06 12:04:48 +02:00
../../modules/ghostwriter.nix
2023-09-13 13:39:45 +02:00
../../modules/android.nix
2023-09-14 15:54:48 +02:00
#../../modules/podman.nix
../../modules/docker.nix
2023-09-21 13:09:15 +02:00
../../modules/docker-pushrm.nix
2023-09-16 17:23:06 +02:00
../../modules/lid-switch-handling.nix
../../modules/sendmail-mta.nix
2023-09-23 19:16:38 +02:00
#../../modules/journalwatch.nix
2023-09-18 21:48:05 +02:00
#../../modules/waydroid.nix
2023-09-20 13:37:48 +02:00
../../modules/ntfs.nix
2023-09-27 18:56:12 +02:00
#../../modules/veracrypt.nix
#../../modules/btrbk
2023-10-03 12:48:52 +02:00
#../../modules/spin-down.nix
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-02 15:44:33 +02:00
];
networking.hostName = "yodaTux";
2023-09-25 21:21:53 +02:00
boot.initrd.luks.devices."luks-ea7099e3-320d-4eb3-a4c3-9910a9af817b".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-09-23 17:58:12 +02:00
# Systemd Journal entry:
# S Sat Sep 23 16:11:52 2023 p4 kernel: TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
boot.kernelParams = [ "tsc=unstable" ];
2023-09-20 22:23:48 +02:00
# List all available kernel versions:
# `nix repl` -> `:l <nixpkgs>` -> `pkgs.linuxPackages` and press `TAB`
# Default.
#boot.kernelPackages = pkgs.linuxPackages;
# Latest.
boot.kernelPackages = pkgs.linuxPackages_latest;
# Hardened.
# https://archlinux.org/packages/extra/x86_64/linux-hardened/
# -> https://github.com/anthraxx/linux-hardened
#boot.kernelPackages = pkgs.linuxPackages_hardened;
# Free/Libre.
# https://en.wikipedia.org/wiki/Linux-libre
#boot.kernelPackages = pkgs.linuxPackages-libre;
2023-09-02 15:44:33 +02:00
}