Compare commits
3 commits
d476060709
...
5e09e75f63
Author | SHA1 | Date | |
---|---|---|---|
5e09e75f63 | |||
9694dc4dd7 | |||
39197d4fa9 |
3 changed files with 9 additions and 12 deletions
|
@ -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;
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
{ lib, pkgs, ... }:
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
# Support windows partition
|
|
||||||
mySystem = {
|
mySystem = {
|
||||||
security.wheelNeedsSudoPassword = false;
|
security.wheelNeedsSudoPassword = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
# for managing/mounting ntfs
|
# for managing/mounting nfs
|
||||||
supportedFilesystems = [ "nfs" ];
|
supportedFilesystems = [ "nfs" ];
|
||||||
|
|
||||||
loader = {
|
loader = {
|
||||||
|
|
|
@ -1,21 +1,19 @@
|
||||||
{ lib, pkgs, ... }:
|
{ lib, pkgs, ... }:
|
||||||
with lib;
|
|
||||||
{
|
{
|
||||||
boot = {
|
boot = {
|
||||||
|
# for managing/mounting nfs
|
||||||
|
supportedFilesystems = [ "nfs" ];
|
||||||
|
|
||||||
loader = {
|
loader = {
|
||||||
grub = {
|
systemd-boot.enable = true;
|
||||||
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";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue