mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 14:29:17 -05:00
40 lines
784 B
Nix
40 lines
784 B
Nix
# Lenovo Thinkpad T440p with a Core i5 4210M, 16GB RAM, 512GB SSD.
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix # Include the results of the hardware scan.
|
|
./home.nix
|
|
];
|
|
|
|
# Bootloader.
|
|
boot.loader.grub.enable = true;
|
|
boot.loader.grub.device = "/dev/sda";
|
|
boot.loader.grub.useOSProber = false;
|
|
|
|
networking.hostName = "rustboro"; # Define your hostname.
|
|
|
|
powerManagement.cpuFreqGovernor = "ondemand";
|
|
|
|
systemConfig = {
|
|
plymouth.enable = true;
|
|
zramSwap = {
|
|
enable = true;
|
|
size = 100;
|
|
};
|
|
};
|
|
|
|
desktopConfig = {
|
|
enable = true;
|
|
windowManagers.hyprland.enable = true;
|
|
};
|
|
|
|
apps = {
|
|
flatpak.enable = true;
|
|
steam.enable = false;
|
|
};
|
|
|
|
system.stateVersion = "23.11"; # Did you read the comment?
|
|
}
|