mochi/.archive/profiles/hw-legion-15arh05h.nix
2024-12-27 21:30:25 -06:00

38 lines
645 B
Nix

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