Compare commits

..

No commits in common. "5e09e75f63444d3925dee97cb58afa37a5bcb60a" and "d476060709bcb661cf490779370334ed4d6756b8" have entirely different histories.

3 changed files with 12 additions and 9 deletions

View file

@ -30,7 +30,7 @@ in
useDHCP = false; # needed for bridge useDHCP = false; # needed for bridge
networkmanager.enable = true; networkmanager.enable = true;
# TODO: Add ports specifically. # TODO: Add ports specifically.
# firewall.enable = false; firewall.enable = false;
interfaces = { interfaces = {
"enp130s0f0".useDHCP = true; "enp130s0f0".useDHCP = true;
"enp130s0f1".useDHCP = true; "enp130s0f1".useDHCP = true;

View file

@ -1,11 +1,12 @@
{ lib, pkgs, ... }: { lib, pkgs, ... }:
{ {
# Support windows partition
mySystem = { mySystem = {
security.wheelNeedsSudoPassword = false; security.wheelNeedsSudoPassword = false;
}; };
boot = { boot = {
# for managing/mounting nfs # for managing/mounting ntfs
supportedFilesystems = [ "nfs" ]; supportedFilesystems = [ "nfs" ];
loader = { loader = {

View file

@ -1,19 +1,21 @@
{ lib, pkgs, ... }: { lib, pkgs, ... }:
with lib;
{ {
boot = { boot = {
# for managing/mounting nfs
supportedFilesystems = [ "nfs" ];
loader = { loader = {
systemd-boot.enable = true; grub = {
enable = true;
zfsSupport = true;
device = "nodev";
mirroredBoots = [
{ devices = [ "nodev" ]; path = "/boot"; }
];
};
efi = { efi = {
canTouchEfiVariables = true; canTouchEfiVariables = true;
}; };
}; };
}; };
networking = {
networkmanager.enable = true;
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
} }