2024-03-16 13:23:59 -04:00
|
|
|
# Lenovo Thinkpad T440p with a Core i5 4210M, 16GB RAM, 512GB SSD.
|
2024-02-29 17:06:55 -05:00
|
|
|
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2024-03-24 14:06:24 -04:00
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix # Include the results of the hardware scan.
|
2024-03-28 19:52:15 -04:00
|
|
|
./home.nix
|
2024-04-01 20:29:48 -04:00
|
|
|
./disko.nix
|
2024-03-24 14:06:24 -04:00
|
|
|
];
|
2024-02-29 17:06:55 -05:00
|
|
|
|
2024-04-02 00:28:55 -04:00
|
|
|
boot = {
|
|
|
|
# Bootloader.
|
|
|
|
loader.systemd-boot.enable = true;
|
|
|
|
loader.efi.canTouchEfiVariables = true;
|
2024-04-01 20:29:48 -04:00
|
|
|
};
|
2024-02-29 17:06:55 -05:00
|
|
|
|
|
|
|
networking.hostName = "rustboro"; # Define your hostname.
|
|
|
|
|
2024-02-29 21:47:46 -05:00
|
|
|
powerManagement.cpuFreqGovernor = "ondemand";
|
2024-02-29 21:46:49 -05:00
|
|
|
|
2024-03-29 21:51:10 -04:00
|
|
|
systemConfig = {
|
|
|
|
plymouth.enable = true;
|
2024-03-30 21:14:13 -04:00
|
|
|
zramSwap = {
|
|
|
|
enable = true;
|
|
|
|
size = 100;
|
|
|
|
};
|
2024-03-29 21:51:10 -04:00
|
|
|
};
|
|
|
|
|
2024-03-28 16:13:46 -04:00
|
|
|
desktopConfig = {
|
|
|
|
enable = true;
|
|
|
|
windowManagers.hyprland.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-03-28 16:36:10 -04:00
|
|
|
apps = {
|
|
|
|
flatpak.enable = true;
|
2024-03-28 19:54:46 -04:00
|
|
|
steam.enable = false;
|
2024-03-28 16:13:46 -04:00
|
|
|
};
|
|
|
|
|
2024-04-01 20:29:48 -04:00
|
|
|
users.users.aly.hashedPassword =
|
|
|
|
"$y$j9T$VdtiEyMOegHpcUwgmCVFD0$K8Ne6.zk//VJNq2zxVQ0xE0Wg3LohvAQd3Xm9aXdM15";
|
|
|
|
|
2024-02-29 17:06:55 -05:00
|
|
|
system.stateVersion = "23.11"; # Did you read the comment?
|
2024-03-24 14:06:24 -04:00
|
|
|
}
|