pantheon/systems/x86_64-linux/nemesis/default.nix

43 lines
1 KiB
Nix

{
lib,
...
}:
{
system.hostname = "nemesis";
system.mainUser.name = "rafiq";
system.mainUser.publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILdsZyY3gu8IGB8MzMnLdh+ClDxQQ2RYG9rkeetIKq8n";
system.bootloader = "systemd-boot";
hardware.drives.btrfs = {
enable = true;
drive = "/dev/disk/by-id/nvme-CT2000P3SSD8_2325E6E77434";
ephemeralRoot = true;
};
hardware.platform = "amd";
hardware.gpu = "nvidia";
desktop.windowManager = "hyprland";
desktop.mainMonitor = {
id = "desc:OOO AN-270W04K";
scale = "1";
resolution = "2560x1440";
refresh-rate = "144";
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
fileSystems."/persist".neededForBoot = true;
environment.persistence."/persist" = {
hideMounts = true;
directories = [
"/var/lib/systemd"
];
files = [
"/etc/ssh/ssh_host_ed25519_key"
"/etc/ssh/ssh_host_ed25519_key.pub"
"/etc/ssh/ssh_host_rsa_key"
"/etc/ssh/ssh_host_rsa_key.pub"
"/etc/machine-id"
];
};
}