nix-git/hosts/yodaGaming/configuration.nix
2024-02-06 21:19:34 +01:00

68 lines
2.1 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ config, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
../../modules/home-manager.nix
../../modules/nur-and-unstable.nix
../../modules/base.nix
../../modules/base-bios.nix
../../modules/power-management.nix
../../modules/ntfs.nix
../../modules/ssh-fde-unlock.nix
../../modules/zsh.nix
../../modules/nitrokey-gpg-smartcard.nix
../../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-base.nix
#../../modules/programs.nix
../../modules/flatpak.nix
../../modules/signal-desktop.nix
../../modules/firefox.nix
../../modules/steam.nix
#../../modules/games.nix
../../modules/jetbrains-ide.nix
];
networking.hostName = "yodaGaming";
boot.initrd.luks.devices."luks-root".allowDiscards = true;
yoda.btrfsFileSystems = ["/"];
#yoda.btrfsMounts = yoda.btrfsFileSystems;
# BIOS
boot.loader.grub.devices = ["/dev/disk/by-id/ata-Samsung_SSD_840_EVO_250GB_S1DBNSAF715594P"];
# 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 youve upgraded your system to a new NixOS release.
system.stateVersion = "23.11";
}