nixcfg/hosts/rustboro/default.nix
Aly Raffauf 647a36b46c refactor flake.nix for multiarch support
flake: simplify nixos hosts with nixpkgs.lib.genAttrs
2024-05-24 13:37:55 -04:00

65 lines
1.2 KiB
Nix

# Lenovo Thinkpad T440p with a Core i5 4210M, 16GB RAM, 512GB SSD.
{
config,
inputs,
lib,
pkgs,
self,
...
}: {
imports = [
./disko.nix
./hardware-configuration.nix
./home.nix
self.nixosModules.default
];
boot = {
# Bootloader.
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
};
networking.hostName = "rustboro"; # Define your hostname.
alyraffauf = {
system = {
plymouth.enable = true;
zramSwap = {
enable = true;
size = 100;
};
};
user = {
aly = {
enable = true;
password = "$y$j9T$VdtiEyMOegHpcUwgmCVFD0$K8Ne6.zk//VJNq2zxVQ0xE0Wg3LohvAQd3Xm9aXdM15";
};
dustin.enable = false;
};
desktop = {
enable = true;
greetd = {
enable = true;
session = config.programs.sway.package + "/bin/sway";
autologin = {
enable = true;
user = "aly";
};
};
sway.enable = true;
};
apps = {
steam.enable = true;
};
scripts = {
hoenn.enable = true;
};
services = {
syncthing.enable = true;
tailscale.enable = true;
};
};
system.stateVersion = "24.05";
}