nixcfg/hosts/lavaridge/default.nix

77 lines
1.7 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-04-07 22:16:33 -04:00
config,
2024-08-14 12:57:09 -04:00
lib,
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
./home.nix
2024-07-22 19:56:56 -04:00
./secrets.nix
./stylix.nix
2024-08-24 12:41:39 -04:00
self.inputs.lanzaboote.nixosModules.lanzaboote
self.inputs.nixhw.nixosModules.framework-13-amd-7000
self.nixosModules.common-auto-upgrade
self.nixosModules.common-base
2024-08-22 09:09:30 -04:00
self.nixosModules.common-locale
self.nixosModules.common-mauville-share
self.nixosModules.common-nix
self.nixosModules.common-overlays
self.nixosModules.common-pkgs
self.nixosModules.common-tailscale
self.nixosModules.common-wifi-profiles
2024-03-24 14:06:24 -04:00
];
2024-08-14 12:57:09 -04:00
boot = {
2024-08-24 12:41:39 -04:00
initrd.systemd.enable = true;
2024-08-14 12:57:09 -04:00
kernelPackages = lib.mkForce pkgs.linuxPackages_6_9;
2024-08-24 12:41:39 -04:00
lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
2024-08-14 12:57:09 -04:00
loader = {
efi.canTouchEfiVariables = true;
2024-08-24 12:41:39 -04:00
systemd-boot.enable = lib.mkForce false;
2024-08-14 12:57:09 -04:00
};
};
2024-03-12 22:17:57 -04:00
2024-07-07 22:23:19 -04:00
environment.variables.GDK_SCALE = "1.5";
networking.hostName = "lavaridge";
system.stateVersion = "24.05";
ar = {
apps = {
2024-06-28 21:07:20 -04:00
firefox.enable = true;
podman.enable = true;
2024-06-28 21:07:20 -04:00
steam.enable = true;
virt-manager.enable = true;
};
desktop = {
2024-04-29 18:47:07 -04:00
greetd = {
enable = true;
autologin = "aly";
2024-04-29 18:47:07 -04:00
};
2024-05-26 02:30:20 -04:00
hyprland.enable = true;
2024-07-25 21:03:26 -04:00
sway.enable = true;
};
laptopMode = true;
users.aly = {
enable = true;
password = "$y$j9T$NSS7QcEtN4yiigPyofwlI/$nxdgz0lpySa0heDMjGlHe1gX3BWf48jK6Tkfg4xMEs6";
syncthing = {
enable = true;
certFile = config.age.secrets.syncthingCert.path;
keyFile = config.age.secrets.syncthingKey.path;
};
};
};
}