Added mounts + clean up

This commit is contained in:
ari committed 2024-07-09 11:35:31 -04:00
1 parent f0f9074d47
commit 7e4858c1ab
2 files changed
+12 -10

No files matched your search

+12 -5
View File
@@ -29,20 +29,27 @@
options = [ "users" "nofail" ];
};
fileSystems."/mnt/EightTerra/DownloadedTorrents" = {
device = "tnas1.lab.internal:/mnt/EightTerra/DownloadedTorrents";
fsType = "nfs";
options = [ "x-systemd.automount" "noauto" ];
};
fileSystems."/mnt/EightTerra/k3s-cluster" = {
device = "tnas1.lab.internal:/mnt/EightTerra/k3s-cluster";
fsType = "nfs";
options = [ "x-systemd.automount" "noauto" ];
};
swapDevices =
[{ device = "/dev/disk/by-uuid/5175a4b0-0067-47c6-b7da-35acb247f134"; }];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.br-74ce7d3722b8.useDHCP = lib.mkDefault true;
networking.interfaces.docker0.useDHCP = lib.mkDefault true;
# networking.interfaces.tailscale0.useDHCP = lib.mkDefault true;
# networking.interfaces.vethdb1ba40.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp1s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
-5
View File
@@ -15,11 +15,6 @@ in
})
{ inherit (pkgs) system; }).fwupd;
services.fprintd.enable = true;
# fileSystems."${dataDir}" = {
# device = "/dev/sda1";
# fsType = "ext4";
# options = [ "users" "nofail" ];
# };
hardware.bluetooth.settings.General = { ControllerMode = "bredr"; };
# Bootloader.
boot.loader.systemd-boot.enable = true;