2024-02-06 16:48:22 +01:00
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
{
|
|
|
|
|
imports =
|
|
|
|
|
[
|
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
../../modules/home-manager.nix
|
|
|
|
|
../../modules/nur-and-unstable.nix
|
|
|
|
|
../../modules/base.nix
|
2024-02-06 17:06:07 +01:00
|
|
|
|
../../modules/base-bios.nix
|
2024-02-06 16:48:22 +01:00
|
|
|
|
../../modules/power-management.nix
|
|
|
|
|
../../modules/ntfs.nix
|
|
|
|
|
../../modules/ssh-fde-unlock.nix
|
|
|
|
|
../../modules/zsh.nix
|
2024-02-06 18:27:55 +01:00
|
|
|
|
../../modules/nitrokey-gpg-smartcard.nix
|
2024-02-06 16:48:22 +01:00
|
|
|
|
../../modules/ssh-client.nix
|
|
|
|
|
../../modules/ssh-server.nix
|
|
|
|
|
|
|
|
|
|
../../modules/btrfs-scrub.nix
|
|
|
|
|
../../modules/btrfs-mount-options.nix
|
|
|
|
|
|
|
|
|
|
#../../modules/gpu-amd.nix
|
|
|
|
|
../../modules/gnome-base.nix
|
|
|
|
|
../../modules/gnome-config.nix
|
|
|
|
|
../../modules/gnome-extensions.nix
|
|
|
|
|
../../modules/fwupd-gnome.nix
|
|
|
|
|
../../modules/gnome-wallpaper.nix
|
|
|
|
|
|
|
|
|
|
#../../modules/gnome-terminal.nix
|
|
|
|
|
../../modules/blackbox.nix
|
|
|
|
|
|
|
|
|
|
../../modules/programs.nix
|
2024-02-06 19:05:01 +01:00
|
|
|
|
../../modules/flatpak.nix
|
2024-02-06 16:48:22 +01:00
|
|
|
|
../../modules/signal-desktop.nix
|
|
|
|
|
#../../modules/games.nix
|
2024-02-06 18:27:55 +01:00
|
|
|
|
|
|
|
|
|
../../modules/jetbrains-ide.nix
|
2024-02-06 16:48:22 +01:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
networking.hostName = "yodaGaming";
|
|
|
|
|
boot.initrd.luks.devices."luks-root".allowDiscards = true;
|
|
|
|
|
yoda.btrfsFileSystems = ["/"];
|
|
|
|
|
#yoda.btrfsMounts = yoda.btrfsFileSystems;
|
|
|
|
|
|
2024-02-06 17:06:07 +01:00
|
|
|
|
# BIOS
|
2024-02-06 18:27:55 +01:00
|
|
|
|
boot.loader.grub.devices = ["/dev/disk/by-id/ata-Samsung_SSD_840_EVO_250GB_S1DBNSAF715594P"];
|
2024-02-06 17:06:07 +01:00
|
|
|
|
|
2024-02-06 16:48:22 +01: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;
|
|
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
system.stateVersion = "23.11";
|
|
|
|
|
}
|