nixcfg/hosts/rustboro/default.nix

52 lines
1.1 KiB
Nix

# Lenovo Thinkpad T440p with a Core i5 4210M, 16GB RAM, 512GB SSD.
{
config,
self,
...
}: {
imports = [
../common
./disko.nix
./home.nix
self.inputs.nixhw.nixosModules.thinkpad-t440p
];
age.secrets = {
syncthingCert.file = ../../secrets/syncthing/rustboro/cert.age;
syncthingKey.file = ../../secrets/syncthing/rustboro/key.age;
};
boot.loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
};
environment.variables.GDK_SCALE = "1.25";
networking.hostName = "rustboro";
system.stateVersion = "24.05";
zramSwap.memoryPercent = 100;
ar = {
apps.firefox.enable = true;
desktop = {
greetd = {
enable = true;
autologin = "aly";
};
hyprland.enable = true;
};
users.aly = {
enable = true;
password = "$y$j9T$VdtiEyMOegHpcUwgmCVFD0$K8Ne6.zk//VJNq2zxVQ0xE0Wg3LohvAQd3Xm9aXdM15";
syncthing = {
enable = true;
certFile = config.age.secrets.syncthingCert.path;
keyFile = config.age.secrets.syncthingKey.path;
};
};
};
}