2024-03-12 22:14:08 -04:00
|
|
|
# Custom desktop with AMD Ryzen 5 2600, 16GB RAM, AMD Rx 6700, and 1TB SSD + 2TB HDD.
|
2024-03-03 21:42:59 -05:00
|
|
|
{
|
2024-04-07 22:16:33 -04:00
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [./hardware-configuration.nix ./home.nix];
|
2024-03-03 21:42:59 -05:00
|
|
|
|
|
|
|
# Bootloader.
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
networking.hostName = "mauville"; # Define your hostname.
|
2024-03-06 23:56:27 -05:00
|
|
|
|
2024-03-16 13:23:59 -04:00
|
|
|
services.xserver = {
|
|
|
|
# Prevent system sleep after reboot to login screen.
|
|
|
|
displayManager.gdm.autoSuspend = false;
|
|
|
|
};
|
2024-03-24 11:40:53 -04:00
|
|
|
|
2024-03-30 20:45:57 -04:00
|
|
|
systemConfig = {
|
2024-03-30 21:14:13 -04:00
|
|
|
zramSwap = {
|
|
|
|
enable = true;
|
|
|
|
size = 100;
|
|
|
|
};
|
2024-03-30 20:45:57 -04:00
|
|
|
};
|
|
|
|
|
2024-03-28 16:13:46 -04:00
|
|
|
homeLab.enable = true;
|
2024-04-17 21:22:22 -04:00
|
|
|
desktop.enable = true;
|
2024-03-28 16:13:46 -04:00
|
|
|
|
2024-03-28 16:36:10 -04:00
|
|
|
apps = {
|
|
|
|
flatpak.enable = true;
|
|
|
|
steam.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-03-16 13:23:59 -04:00
|
|
|
system.stateVersion = "23.11";
|
2024-03-03 21:42:59 -05:00
|
|
|
}
|