nixos: remove btrfs options and programs

This commit is contained in:
Alexandre Cavalheiro 2024-07-17 12:04:18 -03:00
parent 0d6c58753b
commit 46ba9bc8cf
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -9,8 +9,7 @@
## NIXOS ##
##
imports =
[
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
];
@ -70,27 +69,6 @@
efi.canTouchEfiVariables = true;
};
# Configure options for mounted volumes.
fileSystems = {
"/".options = [ "compress=zstd" ];
"/home".options = [ "compress=zstd" ];
"/nix".options = [
"compress=zstd"
"noatime"
];
"/mnt/extra".options = [ "nofail" ];
"/mnt/internal".options = [ "nofail" ];
"/mnt/media".options = [ "nofail" ];
"/mnt/ssd".options = [ "nofail" ];
};
# Enable btrf's auto scrubbing of volumes.
services.btrfs.autoScrub = {
enable = true;
interval = "weekly";
fileSystems = [ "/" ];
};
networking.hostName = "nixos"; # Define your hostname.
# Enable networking
@ -332,7 +310,6 @@
## Tools
# Utilities
bat
btrfs-progs
duf
lm_sensors
tree