mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 16:23:55 -05:00
54 lines
1.1 KiB
Nix
54 lines
1.1 KiB
Nix
# Framework Laptop 13 with AMD Ryzen 7640U, 32GB RAM, 1TB SSD.
|
|
{
|
|
inputs,
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./hardware-configuration.nix # Include the results of the hardware scan.
|
|
./home.nix
|
|
];
|
|
|
|
boot = {
|
|
# Bootloader.
|
|
loader.systemd-boot.enable = true;
|
|
loader.efi.canTouchEfiVariables = true;
|
|
|
|
# Use latest Linux kernel.
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
};
|
|
|
|
networking.hostName = "lavaridge"; # Define your hostname.
|
|
|
|
services = {
|
|
fwupd.enable = true;
|
|
};
|
|
|
|
alyraffauf = {
|
|
system = {
|
|
plymouth.enable = true;
|
|
zramSwap = {enable = true;};
|
|
};
|
|
user = {
|
|
aly.enable = true;
|
|
dustin.enable = false;
|
|
};
|
|
desktop = {
|
|
enable = true;
|
|
greetd.enable = true;
|
|
hyprland.enable = true;
|
|
};
|
|
apps = {
|
|
steam.enable = true;
|
|
podman.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?
|
|
}
|