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
|
|
|
config,
|
2024-05-24 09:37:37 -04:00
|
|
|
inputs,
|
2024-04-07 22:16:33 -04:00
|
|
|
lib,
|
2024-05-24 09:37:37 -04:00
|
|
|
pkgs,
|
|
|
|
self,
|
2024-04-07 22:16:33 -04:00
|
|
|
...
|
|
|
|
}: {
|
2024-03-24 14:06:24 -04:00
|
|
|
imports = [
|
2024-05-01 22:12:13 -04:00
|
|
|
./disko.nix
|
2024-05-24 09:37:37 -04:00
|
|
|
./hardware-configuration.nix
|
|
|
|
./home.nix
|
|
|
|
self.nixosModules.default
|
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;
|
2024-05-26 14:58:38 -04:00
|
|
|
session = lib.getExe config.programs.hyprland.package;
|
2024-05-01 22:01:17 -04:00
|
|
|
autologin = {
|
|
|
|
enable = true;
|
|
|
|
user = "aly";
|
|
|
|
};
|
2024-04-29 18:47:07 -04:00
|
|
|
};
|
2024-05-26 02:30:20 -04:00
|
|
|
hyprland.enable = true;
|
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-05-02 09:05:00 -04:00
|
|
|
scripts = {
|
|
|
|
hoenn.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-05-03 11:03:50 -04:00
|
|
|
system.stateVersion = "24.05";
|
2024-03-12 22:08:02 -04:00
|
|
|
}
|