nixcfg/hosts/lavaridge/default.nix

51 lines
1.1 KiB
Nix
Raw Normal View History

2024-03-12 22:14:08 -04:00
# Framework Laptop 13 with AMD Ryzen 7640U, 32GB RAM, 1TB SSD.
2024-03-28 19:52:15 -04:00
{ inputs, config, pkgs, lib, ... }:
{
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
];
boot = {
# Bootloader.
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
# Use latest Linux kernel.
kernelPackages = pkgs.linuxPackages_latest;
};
2024-03-12 22:17:57 -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:16:32 -04:00
};
2024-03-29 21:16:32 -04:00
systemConfig = {
plymouth.enable = true;
2024-04-05 16:43:19 -04:00
zramSwap = { enable = true; };
};
desktopConfig = {
enable = true;
windowManagers.hyprland.enable = true;
};
apps = {
flatpak.enable = true;
podman.enable = true;
steam.enable = true;
virt-manager.enable = true;
};
users.users.aly.hashedPassword =
"$y$j9T$O9NgTk6iRfh3mxiRDvfdm1$BjvsAKYEMB3C28652FF15cj/i.3TgQAObQvR0rN1E6C";
system.stateVersion = "23.11"; # Did you read the comment?
}