nixos: remove btrfs options and programs
This commit is contained in:
parent
0d6c58753b
commit
46ba9bc8cf
31
nixos.nix
31
nixos.nix
|
@ -9,11 +9,10 @@
|
|||
## NIXOS ##
|
||||
##
|
||||
|
||||
imports =
|
||||
[
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
# Enable experimental features
|
||||
nix.settings.experimental-features = [
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue