nix-git/hosts/yodaGaming/configuration.nix

60 lines
1.9 KiB
Nix
Raw Normal View History

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
../../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
../../modules/signal-desktop.nix
#../../modules/games.nix
];
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
boot.loader.grub.devices = ["/dev/disk/by-uuid/c033a402-8616-4aa7-922e-556f60a64a6c"];
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 youve upgraded your system to a new NixOS release.
system.stateVersion = "23.11";
}