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
networkmanager.enable = true;
# TODO: Add ports specifically.
firewall.enable = false;
# firewall.enable = false;
interfaces = {
"enp130s0f0".useDHCP = true;
"enp130s0f1".useDHCP = true;

View file

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

View file

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