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-05-24 09:37:37 -04:00
|
|
|
inputs,
|
2024-04-07 22:16:33 -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-04-01 20:29:48 -04:00
|
|
|
./disko.nix
|
2024-05-27 21:39:30 -04:00
|
|
|
./hardware.nix
|
2024-05-24 09:37:37 -04:00
|
|
|
./home.nix
|
2024-03-24 14:06:24 -04:00
|
|
|
];
|
2024-02-29 17:06:55 -05:00
|
|
|
|
2024-04-02 00:28:55 -04:00
|
|
|
boot = {
|
|
|
|
# Bootloader.
|
|
|
|
loader.systemd-boot.enable = true;
|
|
|
|
loader.efi.canTouchEfiVariables = true;
|
2024-04-03 15:18:49 -04:00
|
|
|
};
|
2024-02-29 17:06:55 -05:00
|
|
|
|
|
|
|
networking.hostName = "rustboro"; # Define your hostname.
|
|
|
|
|
2024-06-18 19:16:35 -04:00
|
|
|
fileSystems = {
|
|
|
|
"/mnt/Archive" = {
|
|
|
|
device = "//mauville/Archive";
|
|
|
|
fsType = "cifs";
|
|
|
|
options = [
|
|
|
|
"gid=100"
|
|
|
|
"guest"
|
|
|
|
"nofail"
|
|
|
|
"uid=${toString config.users.users.aly.uid}"
|
|
|
|
"x-systemd.after=network.target"
|
|
|
|
"x-systemd.after=tailscaled.service"
|
|
|
|
"x-systemd.automount"
|
|
|
|
"x-systemd.device-timeout=5s"
|
|
|
|
"x-systemd.idle-timeout=60"
|
|
|
|
"x-systemd.mount-timeout=5s"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
"/mnt/Media" = {
|
|
|
|
device = "//mauville/Media";
|
|
|
|
fsType = "cifs";
|
|
|
|
options = [
|
|
|
|
"gid=100"
|
|
|
|
"guest"
|
|
|
|
"nofail"
|
|
|
|
"uid=${toString config.users.users.aly.uid}"
|
|
|
|
"x-systemd.after=network.target"
|
|
|
|
"x-systemd.after=tailscaled.service"
|
|
|
|
"x-systemd.automount"
|
|
|
|
"x-systemd.device-timeout=5s"
|
|
|
|
"x-systemd.idle-timeout=60"
|
|
|
|
"x-systemd.mount-timeout=5s"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-04-18 14:21:33 -04:00
|
|
|
alyraffauf = {
|
2024-06-11 21:16:05 -04:00
|
|
|
base = {
|
|
|
|
enable = true;
|
2024-04-18 14:21:33 -04:00
|
|
|
plymouth.enable = true;
|
|
|
|
zramSwap = {
|
|
|
|
enable = true;
|
|
|
|
size = 100;
|
|
|
|
};
|
|
|
|
};
|
2024-06-11 16:24:12 -04:00
|
|
|
users = {
|
2024-04-26 22:55:43 -04:00
|
|
|
aly = {
|
|
|
|
enable = true;
|
|
|
|
password = "$y$j9T$VdtiEyMOegHpcUwgmCVFD0$K8Ne6.zk//VJNq2zxVQ0xE0Wg3LohvAQd3Xm9aXdM15";
|
|
|
|
};
|
2024-04-23 18:42:31 -04:00
|
|
|
dustin.enable = false;
|
2024-04-18 14:21:33 -04:00
|
|
|
};
|
|
|
|
desktop = {
|
2024-03-30 21:14:13 -04:00
|
|
|
enable = true;
|
2024-04-22 23:14:28 -04:00
|
|
|
greetd = {
|
|
|
|
enable = true;
|
2024-06-04 22:34:35 -04:00
|
|
|
session = lib.getExe config.programs.hyprland.package;
|
2024-05-01 17:44:15 -04:00
|
|
|
autologin = {
|
|
|
|
enable = true;
|
|
|
|
user = "aly";
|
|
|
|
};
|
2024-04-22 23:14:28 -04:00
|
|
|
};
|
2024-06-09 20:24:22 -04:00
|
|
|
sway.enable = false;
|
2024-06-04 22:34:35 -04:00
|
|
|
hyprland.enable = true;
|
2024-04-18 14:21:33 -04:00
|
|
|
};
|
|
|
|
apps = {
|
2024-06-09 20:24:22 -04:00
|
|
|
steam.enable = false;
|
2024-03-30 21:14:13 -04:00
|
|
|
};
|
2024-05-02 09:08:35 -04:00
|
|
|
scripts = {
|
|
|
|
hoenn.enable = true;
|
|
|
|
};
|
2024-04-26 22:38:29 -04:00
|
|
|
services = {
|
|
|
|
syncthing.enable = true;
|
2024-04-30 14:53:17 -04:00
|
|
|
tailscale.enable = true;
|
2024-04-26 22:38:29 -04:00
|
|
|
};
|
2024-03-29 21:51:10 -04:00
|
|
|
};
|
2024-05-03 11:03:50 -04:00
|
|
|
system.stateVersion = "24.05";
|
2024-03-24 14:06:24 -04:00
|
|
|
}
|