added zfs to hardware config
This commit is contained in:
parent
502ffabbaa
commit
5aab046d7b
2 changed files with 11 additions and 7 deletions
|
|
@ -33,6 +33,9 @@
|
|||
# "net.bridge.bridge-nf-call-ip6tables" = 1;
|
||||
};
|
||||
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
boot.zfs.forceImportRoot = false;
|
||||
|
||||
# Console and locale
|
||||
console = {
|
||||
font = "Lat2-Terminus16";
|
||||
|
|
@ -44,6 +47,7 @@
|
|||
# Networking
|
||||
networking.hostName = "nixos-server";
|
||||
networking.useDHCP = false;
|
||||
networking.hostId = "5506a8e7";
|
||||
networking.interfaces.eth0.ipv4.addresses = [
|
||||
{
|
||||
address = "192.168.69.69";
|
||||
|
|
@ -93,6 +97,8 @@
|
|||
nixfmt
|
||||
systemd
|
||||
inetutils
|
||||
smartmontools
|
||||
parted
|
||||
|
||||
nil
|
||||
];
|
||||
|
|
|
|||
|
|
@ -25,13 +25,11 @@
|
|||
|
||||
swapDevices = [ ];
|
||||
|
||||
# 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.enp39s0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.wlp41s0.useDHCP = lib.mkDefault true;
|
||||
fileSystems."/backup" = {
|
||||
device = "backup";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue