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

35 lines
767 B
Nix
Raw Normal View History

2024-06-21 12:55:52 -05:00
{ config, lib, pkgs, ... }:
2024-06-20 13:03:44 -05:00
{
2024-06-21 12:55:52 -05:00
# Support windows partition
mySystem.system.packages = with pkgs; [
ntfs3g
2024-06-21 14:15:45 -05:00
fira-code-nerdfont
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" ];
2024-06-20 13:03:44 -05:00
# Use the systemd-boot EFI boot loader.
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;
efiSupport = true;
efiInstallAsRemovable = true;
mirroredBoots = [
{ devices = ["nodev"]; path = "/boot";}
];
2024-06-20 13:03:44 -05:00
};
};
};
networking = {
useDHCP = lib.mkDefault true;
};
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}