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,
|
2024-07-27 19:47:13 -04:00
|
|
|
lib,
|
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-04-01 20:29:48 -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-08-15 15:55:39 -04:00
|
|
|
./stylix.nix
|
2024-07-09 19:17:53 -04:00
|
|
|
self.inputs.nixhw.nixosModules.thinkpad-t440p
|
2024-03-24 14:06:24 -04:00
|
|
|
];
|
2024-02-29 17:06:55 -05:00
|
|
|
|
2024-06-22 12:10:36 -04:00
|
|
|
boot.loader = {
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
systemd-boot.enable = true;
|
2024-04-03 15:18:49 -04:00
|
|
|
};
|
2024-02-29 17:06:55 -05:00
|
|
|
|
2024-07-30 20:02:24 -04:00
|
|
|
environment.variables = {
|
|
|
|
FLAKE = "https://flakehub.com/f/alyraffauf/nixcfg/*.tar.gz";
|
|
|
|
GDK_SCALE = "1.25";
|
|
|
|
};
|
|
|
|
|
2024-06-22 12:10:36 -04:00
|
|
|
networking.hostName = "rustboro";
|
|
|
|
system.stateVersion = "24.05";
|
2024-07-07 17:17:51 -04:00
|
|
|
zramSwap.memoryPercent = 100;
|
|
|
|
|
2024-06-26 22:13:02 -04:00
|
|
|
ar = {
|
2024-06-28 21:07:20 -04:00
|
|
|
apps.firefox.enable = true;
|
2024-06-22 12:10:36 -04:00
|
|
|
|
2024-04-18 14:21:33 -04:00
|
|
|
desktop = {
|
2024-07-07 15:07:58 -04:00
|
|
|
greetd = {
|
|
|
|
enable = true;
|
2024-07-10 20:30:11 -04:00
|
|
|
autologin = "aly";
|
2024-07-27 19:47:13 -04:00
|
|
|
session = lib.getExe config.programs.sway.package;
|
2024-07-07 15:07:58 -04:00
|
|
|
};
|
|
|
|
|
2024-07-27 19:47:13 -04:00
|
|
|
sway.enable = true;
|
2024-04-18 14:21:33 -04:00
|
|
|
};
|
2024-08-19 19:20:02 -04:00
|
|
|
|
2024-08-19 19:18:41 -04:00
|
|
|
laptopMode = true;
|
2024-06-22 12:10:36 -04:00
|
|
|
|
|
|
|
users.aly = {
|
|
|
|
enable = true;
|
|
|
|
password = "$y$j9T$VdtiEyMOegHpcUwgmCVFD0$K8Ne6.zk//VJNq2zxVQ0xE0Wg3LohvAQd3Xm9aXdM15";
|
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-29 21:51:10 -04:00
|
|
|
};
|
2024-03-24 14:06:24 -04:00
|
|
|
}
|