mochi/.archive/profiles/hw-legion-15arh05h.nix

33 lines
595 B
Nix
Raw Permalink Normal View History

{ lib, pkgs, ... }:
2024-06-20 13:03:44 -05:00
{
2024-06-21 12:55:52 -05:00
# Support windows partition
2024-06-26 10:55:36 -05:00
mySystem = {
2024-06-26 11:53:17 -05:00
security.wheelNeedsSudoPassword = false;
system.packages = with pkgs; [
2024-06-26 10:55:36 -05:00
ntfs3g
];
};
2024-06-21 12:55:52 -05:00
2024-06-20 13:03:44 -05:00
boot = {
2024-06-21 12:55:52 -05:00
# for managing/mounting ntfs
supportedFilesystems = [ "ntfs" "nfs" ];
2024-06-21 12:55:52 -05:00
2024-06-20 13:03:44 -05:00
loader = {
2024-06-21 12:55:52 -05:00
grub = {
2024-06-20 13:03:44 -05:00
enable = true;
2024-06-21 12:55:52 -05:00
zfsSupport = true;
2024-06-26 11:51:57 -05:00
device = "nodev";
2024-06-21 12:55:52 -05:00
mirroredBoots = [
2024-07-13 02:47:38 -05:00
{ devices = [ "nodev" ]; path = "/boot"; }
2024-06-21 12:55:52 -05:00
];
2024-06-20 13:03:44 -05:00
};
};
};
networking = {
useDHCP = lib.mkDefault true;
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}