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-08-14 12:57:09 -04:00
|
|
|
lib,
|
|
|
|
pkgs,
|
2024-05-24 09:37:37 -04:00
|
|
|
self,
|
2024-04-07 22:16:33 -04:00
|
|
|
...
|
|
|
|
}: {
|
2024-03-24 14:06:24 -04:00
|
|
|
imports = [
|
2024-07-16 16:53:28 -04:00
|
|
|
../common
|
2024-05-01 22:12:13 -04:00
|
|
|
./disko.nix
|
2024-05-24 09:37:37 -04:00
|
|
|
./home.nix
|
2024-07-22 19:56:56 -04:00
|
|
|
./secrets.nix
|
2024-07-09 19:17:53 -04:00
|
|
|
self.inputs.nixhw.nixosModules.framework-13-amd-7000
|
2024-03-24 14:06:24 -04:00
|
|
|
];
|
2024-03-12 22:08:02 -04:00
|
|
|
|
2024-08-14 12:57:09 -04:00
|
|
|
boot = {
|
|
|
|
kernelPackages = lib.mkForce pkgs.linuxPackages_6_9;
|
|
|
|
|
|
|
|
loader = {
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
systemd-boot.enable = true;
|
|
|
|
};
|
2024-03-28 16:13:46 -04:00
|
|
|
};
|
2024-03-12 22:17:57 -04:00
|
|
|
|
2024-07-07 22:23:19 -04:00
|
|
|
environment.variables.GDK_SCALE = "1.5";
|
2024-06-22 12:10:36 -04:00
|
|
|
networking.hostName = "lavaridge";
|
|
|
|
system.stateVersion = "24.05";
|
2024-03-15 00:02:03 -04:00
|
|
|
|
2024-06-26 22:13:02 -04:00
|
|
|
ar = {
|
2024-06-22 12:10:36 -04:00
|
|
|
apps = {
|
2024-06-28 21:07:20 -04:00
|
|
|
firefox.enable = true;
|
2024-06-22 12:10:36 -04:00
|
|
|
podman.enable = true;
|
2024-06-28 21:07:20 -04:00
|
|
|
steam.enable = true;
|
2024-06-22 12:10:36 -04:00
|
|
|
virt-manager.enable = true;
|
2024-04-18 14:21:33 -04:00
|
|
|
};
|
2024-06-22 12:10:36 -04:00
|
|
|
|
2024-04-18 14:21:33 -04:00
|
|
|
desktop = {
|
2024-04-29 18:47:07 -04:00
|
|
|
greetd = {
|
|
|
|
enable = true;
|
2024-07-10 20:30:11 -04:00
|
|
|
autologin = "aly";
|
2024-04-29 18:47:07 -04:00
|
|
|
};
|
2024-06-22 12:10:36 -04:00
|
|
|
|
2024-05-26 02:30:20 -04:00
|
|
|
hyprland.enable = true;
|
2024-07-25 21:03:26 -04:00
|
|
|
sway.enable = true;
|
2024-04-18 14:21:33 -04:00
|
|
|
};
|
2024-06-22 12:10:36 -04:00
|
|
|
|
|
|
|
users.aly = {
|
|
|
|
enable = true;
|
|
|
|
password = "$y$j9T$NSS7QcEtN4yiigPyofwlI/$nxdgz0lpySa0heDMjGlHe1gX3BWf48jK6Tkfg4xMEs6";
|
2024-07-08 01:29:09 -04:00
|
|
|
syncthing = {
|
|
|
|
enable = true;
|
|
|
|
certFile = config.age.secrets.syncthingCert.path;
|
|
|
|
keyFile = config.age.secrets.syncthingKey.path;
|
|
|
|
};
|
2024-06-22 12:10:36 -04:00
|
|
|
};
|
|
|
|
};
|
2024-03-12 22:08:02 -04:00
|
|
|
}
|