mirror of
https://github.com/FabricSoul/nixos-configs.git
synced 2025-08-03 16:50:24 -04:00
add: nfs config
This commit is contained in:
parent
2975de79e2
commit
45a1becdb2
3 changed files with 33 additions and 20 deletions
|
@ -12,15 +12,24 @@
|
|||
# Common configurations
|
||||
../common/global
|
||||
../common/optional/docker.nix
|
||||
|
||||
../common/optional/nfs.nix
|
||||
];
|
||||
|
||||
# Bootloader
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
boot.supportedFilesystems = ["zfs"];
|
||||
boot.zfs.extraPools = ["nas"];
|
||||
|
||||
services.zfs.autoScrub.enable = true;
|
||||
services.zfs.trim.enable = true;
|
||||
|
||||
# Networking
|
||||
networking = {
|
||||
hostName = "tatara";
|
||||
hostId = "b47100bc";
|
||||
networkmanager.enable = true;
|
||||
useDHCP = lib.mkDefault true;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue