misc general changes / nixpkgs break fixes
This commit is contained in:
parent
4b90113a54
commit
a5b19fc918
15 changed files with 272 additions and 67 deletions
|
@ -1,6 +1,6 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
# zfs:
|
||||
# sudo zfs create -o mountpoint=legacy -o canmount=off -o atime=off -o compression=zstd -o sync=disabled -o casesensitivity=sensitive -o exec=on -o setuid=off -o xattr=sa -o devices=off pool/games
|
||||
# sudo zfs create -o mountpoint=legacy -o canmount=off -o atime=off -o compression=zstd -o sync=disabled -o casesensitivity=sensitive -o exec=on -o setuid=off -o xattr=sa -o devices=off pool/torrents
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
|
@ -13,6 +13,11 @@
|
|||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
networking.hostId = "fd4421b3";
|
||||
systemd.services.zfs-mount.enable = false;
|
||||
services.zfs.autoScrub.enable = true;
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/c9cb1730-c0d1-4a2e-a092-12dfa7098476";
|
||||
fsType = "ext4";
|
||||
|
@ -23,6 +28,21 @@
|
|||
fsType = "vfat";
|
||||
};
|
||||
|
||||
fileSystems."/pool/games" = {
|
||||
fsType = "zfs";
|
||||
device = "pool/games";
|
||||
};
|
||||
|
||||
fileSystems."/pool/torrents" = {
|
||||
fsType = "zfs";
|
||||
device = "pool/torrents";
|
||||
};
|
||||
|
||||
fileSystems."/pool/music" = {
|
||||
fsType = "zfs";
|
||||
device = "pool/music";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue