mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 06:33:56 -05:00
102 lines
2.1 KiB
Nix
102 lines
2.1 KiB
Nix
# Lenovo Thinkpad T440p with a Core i5 4210M, 16GB RAM, 512GB SSD.
|
|
{
|
|
config,
|
|
inputs,
|
|
lib,
|
|
pkgs,
|
|
self,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./disko.nix
|
|
./hardware.nix
|
|
./home.nix
|
|
];
|
|
|
|
boot = {
|
|
# Bootloader.
|
|
loader.systemd-boot.enable = true;
|
|
loader.efi.canTouchEfiVariables = true;
|
|
};
|
|
|
|
networking.hostName = "rustboro"; # Define your hostname.
|
|
|
|
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"
|
|
];
|
|
};
|
|
};
|
|
|
|
alyraffauf = {
|
|
base = {
|
|
enable = true;
|
|
plymouth.enable = true;
|
|
zramSwap = {
|
|
enable = true;
|
|
size = 100;
|
|
};
|
|
};
|
|
users = {
|
|
aly = {
|
|
enable = true;
|
|
password = "$y$j9T$VdtiEyMOegHpcUwgmCVFD0$K8Ne6.zk//VJNq2zxVQ0xE0Wg3LohvAQd3Xm9aXdM15";
|
|
};
|
|
dustin.enable = false;
|
|
};
|
|
desktop = {
|
|
enable = true;
|
|
greetd = {
|
|
enable = true;
|
|
session = lib.getExe config.programs.hyprland.package;
|
|
autologin = {
|
|
enable = true;
|
|
user = "aly";
|
|
};
|
|
};
|
|
sway.enable = false;
|
|
hyprland.enable = true;
|
|
};
|
|
apps = {
|
|
steam.enable = false;
|
|
};
|
|
scripts = {
|
|
hoenn.enable = true;
|
|
};
|
|
services = {
|
|
syncthing.enable = true;
|
|
tailscale.enable = true;
|
|
};
|
|
};
|
|
system.stateVersion = "24.05";
|
|
}
|