Compare commits

...

3 commits

Author SHA1 Message Date
5e09e75f63
swap to systemd-boot 2024-07-14 05:14:13 -05:00
9694dc4dd7
format 2024-07-14 05:13:52 -05:00
39197d4fa9
Enable firewall 2024-07-14 05:13:31 -05:00
3 changed files with 9 additions and 12 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,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 = {

View file

@ -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";
} }