mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 13:43:56 -05:00
36 lines
722 B
Nix
36 lines
722 B
Nix
# Custom desktop with AMD Ryzen 5 2600, 16GB RAM, AMD Rx 6700, and 1TB SSD + 2TB HDD.
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
imports = [ ./hardware-configuration.nix ./home.nix ];
|
|
|
|
# Bootloader.
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
networking.hostName = "mauville"; # Define your hostname.
|
|
|
|
services.xserver = {
|
|
# Prevent system sleep after reboot to login screen.
|
|
displayManager.gdm.autoSuspend = false;
|
|
};
|
|
|
|
systemConfig = {
|
|
zramSwap = {
|
|
enable = true;
|
|
size = 100;
|
|
};
|
|
};
|
|
|
|
homeLab.enable = true;
|
|
desktopConfig.enable = true;
|
|
|
|
apps = {
|
|
flatpak.enable = true;
|
|
steam.enable = true;
|
|
};
|
|
|
|
system.stateVersion = "23.11";
|
|
}
|