mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-22 22:09:34 +01:00
64 lines
2.0 KiB
Nix
64 lines
2.0 KiB
Nix
{ 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.nix
|
||
../../modules/flatpak.nix
|
||
../../modules/signal-desktop.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 you’ve upgraded your system to a new NixOS release.
|
||
system.stateVersion = "23.11";
|
||
}
|