2024-03-12 22:14:08 -04:00
|
|
|
# Framework Laptop 13 with AMD Ryzen 7640U, 32GB RAM, 1TB SSD.
|
2024-03-12 22:08:02 -04:00
|
|
|
|
2024-03-28 19:52:15 -04:00
|
|
|
{ inputs, config, pkgs, lib, ... }:
|
2024-03-12 22:08:02 -04:00
|
|
|
|
|
|
|
{
|
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-03-24 14:06:24 -04:00
|
|
|
];
|
2024-03-12 22:08:02 -04:00
|
|
|
|
2024-03-28 16:13:46 -04:00
|
|
|
boot = {
|
|
|
|
# Bootloader.
|
|
|
|
loader.systemd-boot.enable = true;
|
|
|
|
loader.efi.canTouchEfiVariables = true;
|
2024-03-12 22:08:02 -04:00
|
|
|
|
2024-03-28 16:13:46 -04:00
|
|
|
# Use latest Linux kernel.
|
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
};
|
2024-03-12 22:17:57 -04:00
|
|
|
|
2024-03-12 22:08:02 -04:00
|
|
|
networking.hostName = "lavaridge"; # Define your hostname.
|
|
|
|
|
2024-03-29 21:16:32 -04:00
|
|
|
services = {
|
|
|
|
fwupd.enable = true;
|
|
|
|
fprintd.package = pkgs.fprintd.overrideAttrs {
|
|
|
|
mesonCheckFlags = [ "--no-suite" "fprintd:TestPamFprintd" ];
|
2024-03-29 21:51:10 -04:00
|
|
|
};
|
2024-03-29 21:16:32 -04:00
|
|
|
};
|
2024-03-15 00:02:03 -04:00
|
|
|
|
2024-03-29 21:16:32 -04:00
|
|
|
systemConfig = {
|
|
|
|
plymouth.enable = true;
|
2024-03-30 21:14:13 -04:00
|
|
|
zramSwap = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2024-03-26 16:59:38 -04:00
|
|
|
};
|
2024-03-25 14:35:09 -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-29 21:51:10 -04:00
|
|
|
podman.enable = true;
|
2024-03-28 16:36:10 -04:00
|
|
|
steam.enable = true;
|
2024-03-29 21:51:10 -04:00
|
|
|
virt-manager.enable = true;
|
2024-03-28 16:13:46 -04:00
|
|
|
};
|
|
|
|
|
2024-03-29 21:51:10 -04:00
|
|
|
users.users.aly.hashedPassword =
|
|
|
|
"$y$j9T$O9NgTk6iRfh3mxiRDvfdm1$BjvsAKYEMB3C28652FF15cj/i.3TgQAObQvR0rN1E6C";
|
2024-03-28 16:13:46 -04:00
|
|
|
|
2024-03-12 22:08:02 -04:00
|
|
|
system.stateVersion = "23.11"; # Did you read the comment?
|
|
|
|
}
|