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

36 lines
658 B
Nix
Raw 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 = [
{ devices = ["nodev"]; path = "/boot";}
];
2024-06-20 13:03:44 -05:00
};
2024-06-22 18:13:31 -05:00
# efi = {
# canTouchEfiVariables = true;
# };
2024-06-20 13:03:44 -05:00
};
};
networking = {
useDHCP = lib.mkDefault true;
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}