mochi/nixos/profiles/hw-framework-16-7840hs.nix

32 lines
596 B
Nix

{ lib, pkgs, ... }:
{
# Support windows partition
mySystem = {
security.wheelNeedsSudoPassword = false;
};
boot = {
# for managing/mounting ntfs
supportedFilesystems = [ "nfs" ];
loader = {
grub = {
enable = true;
zfsSupport = true;
device = "nodev";
mirroredBoots = [
{ devices = ["nodev"]; path = "/boot";}
];
};
# efi = {
# canTouchEfiVariables = true;
# };
};
};
networking = {
useDHCP = lib.mkDefault true;
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}