feat(systems/x86_64-linux): add mellinoe
This commit is contained in:
parent
236ce0fd5b
commit
00ca5f8b8d
2 changed files with 39 additions and 0 deletions
|
@ -5,5 +5,9 @@
|
|||
hardware.cpu.amd.updateMicrocode = true;
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
})
|
||||
(lib.mkIf (config.hardware.platform == "intel") {
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
35
systems/x86_64-linux/mellinoe/default.nix
Normal file
35
systems/x86_64-linux/mellinoe/default.nix
Normal 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";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue