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-04-07 22:16:33 -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
|
|
|
];
|
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;
|
|
|
|
};
|
2024-03-15 00:02:03 -04:00
|
|
|
|
2024-04-18 14:21:33 -04:00
|
|
|
alyraffauf = {
|
|
|
|
system = {
|
|
|
|
plymouth.enable = true;
|
|
|
|
zramSwap = {enable = true;};
|
|
|
|
};
|
|
|
|
user = {
|
2024-04-26 22:55:43 -04:00
|
|
|
aly = {
|
|
|
|
enable = true;
|
2024-05-01 22:04:14 -04:00
|
|
|
password = "$y$j9T$NSS7QcEtN4yiigPyofwlI/$nxdgz0lpySa0heDMjGlHe1gX3BWf48jK6Tkfg4xMEs6";
|
2024-04-26 22:55:43 -04:00
|
|
|
};
|
2024-04-23 18:42:31 -04:00
|
|
|
dustin.enable = false;
|
2024-04-18 14:21:33 -04:00
|
|
|
};
|
|
|
|
desktop = {
|
|
|
|
enable = true;
|
2024-04-29 18:47:07 -04:00
|
|
|
greetd = {
|
|
|
|
enable = true;
|
|
|
|
session = config.programs.sway.package + "/bin/sway";
|
2024-05-01 22:01:17 -04:00
|
|
|
autologin = {
|
|
|
|
enable = true;
|
|
|
|
user = "aly";
|
|
|
|
};
|
2024-04-29 18:47:07 -04:00
|
|
|
};
|
|
|
|
sway.enable = true;
|
2024-04-18 14:21:33 -04:00
|
|
|
};
|
|
|
|
apps = {
|
|
|
|
steam.enable = true;
|
|
|
|
podman.enable = true;
|
|
|
|
virt-manager.enable = true;
|
|
|
|
};
|
2024-04-26 22:38:29 -04:00
|
|
|
services = {
|
|
|
|
syncthing.enable = true;
|
2024-04-30 14:53:17 -04:00
|
|
|
tailscale.enable = true;
|
2024-04-26 22:38:29 -04:00
|
|
|
};
|
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?
|
|
|
|
}
|