feat(systems/x86_64-linux): add mellinoe

This commit is contained in:
Mohammad Rafiq 2025-06-01 21:07:52 +08:00
parent 236ce0fd5b
commit 00ca5f8b8d
No known key found for this signature in database
2 changed files with 39 additions and 0 deletions

View file

@ -5,5 +5,9 @@
hardware.cpu.amd.updateMicrocode = true; hardware.cpu.amd.updateMicrocode = true;
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
}) })
(lib.mkIf (config.hardware.platform == "intel") {
hardware.cpu.intel.updateMicrocode = true;
boot.kernelModules = [ "kvm-intel" ];
})
]; ];
} }

View file

@ -0,0 +1,35 @@
{ lib, ... }:
{
system = {
hostname = "mellinoe";
mainUser.name = "rafiq";
mainUser.publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILdsZyY3gu8IGB8MzMnLdh+ClDxQQ2RYG9rkeetIKq8n";
bootloader = "systemd-boot";
};
hardware = {
drives.btrfs = {
enable = true;
drive = "/dev/disk/by-id/nvme-KBG40ZPZ128G_TOSHIBA_MEMORY_Z0U103PCNCDL";
ephemeralRoot = true;
};
platform = "intel";
};
desktop = {
windowManager = "hyprland";
browser = "firefox";
terminal = "ghostty";
lockscreen = "hyprlock";
notification-daemon = "mako";
launcher = "fuzzel";
status-bar = "waybar";
};
server = {
mountHelios = true;
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}