nixfleet/hosts/hs/configuration.nix
Andrea Ciceri ecb7bc935b
Many things:
- updated inputs
- added new host `hs`
- workflows to check and release new host `hs`
- chrome instead of chromium (if not on aarch64)
- fixed bud configuration error for `pc` host
- fixed Emacs purescript format on save
2021-11-13 19:01:43 +01:00

36 lines
769 B
Nix

{ config, lib, pkgs, profiles, ... }:
{
imports = with profiles; [ sshd ];
boot = {
initrd.availableKernelModules = [ "ohci_pci" "ehci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
loader.grub = pkgs.lib.mkForce {
enable = true;
version = 2;
device = "/dev/disk/by-label/nixos";
};
};
fileSystems = {
"/" =
{
device = "/dev/disk/by-label/nixos";
fsType = "btrfs";
};
"/mnt/archivio" = {
device = "/dev/disk/by-label/archivio";
fsType = "ext4";
};
"/mnt/film" = {
device = "/dev/disk/by-label/film";
fsType = "ext4";
};
};
swapDevices =
[{ device = "/dev/disk/by-label/swap"; }];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}