nixcfg/hosts/rustboro/default.nix

59 lines
1.1 KiB
Nix
Raw Normal View History

2024-03-16 13:23:59 -04:00
# Lenovo Thinkpad T440p with a Core i5 4210M, 16GB RAM, 512GB SSD.
2024-02-29 17:06:55 -05:00
{
2024-04-07 22:16:33 -04:00
config,
inputs,
2024-04-07 22:16:33 -04:00
lib,
pkgs,
self,
2024-04-07 22:16:33 -04:00
...
}: {
2024-03-24 14:06:24 -04:00
imports = [
2024-07-07 19:17:35 -04:00
../common.nix
2024-04-01 20:29:48 -04:00
./disko.nix
./home.nix
inputs.nixhw.nixosModules.thinkpad-t440p
2024-03-24 14:06:24 -04:00
];
2024-02-29 17:06:55 -05:00
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;
};
2024-02-29 17:06:55 -05:00
2024-07-07 22:23:19 -04:00
environment.variables.GDK_SCALE = "1.25";
networking.hostName = "rustboro";
system.stateVersion = "24.05";
zramSwap.memoryPercent = 100;
ar = {
2024-06-28 21:07:20 -04:00
apps.firefox.enable = true;
desktop = {
2024-07-07 15:07:58 -04:00
greetd = {
enable = true;
autologin = {
enable = true;
user = "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;
};
};
};
2024-03-24 14:06:24 -04:00
}