machines: add aramis

This commit is contained in:
Bruno BELANYI 2021-04-02 12:00:21 +00:00
parent 9690b0b14b
commit 63791a98a4
6 changed files with 123 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
fileSystems = {
"/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-label/boot";
fsType = "vfat";
};
};
swapDevices = [
{ device = "/dev/disk/by-label/swap"; }
];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = true;
}