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 ##
|
## NIXOS ##
|
||||||
##
|
##
|
||||||
|
|
||||||
imports =
|
imports = [
|
||||||
[
|
# Include the results of the hardware scan.
|
||||||
# Include the results of the hardware scan.
|
./hardware-configuration.nix
|
||||||
./hardware-configuration.nix
|
];
|
||||||
];
|
|
||||||
|
|
||||||
# Enable experimental features
|
# Enable experimental features
|
||||||
nix.settings.experimental-features = [
|
nix.settings.experimental-features = [
|
||||||
|
@ -70,27 +69,6 @@
|
||||||
efi.canTouchEfiVariables = true;
|
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.
|
networking.hostName = "nixos"; # Define your hostname.
|
||||||
|
|
||||||
# Enable networking
|
# Enable networking
|
||||||
|
@ -332,7 +310,6 @@
|
||||||
## Tools
|
## Tools
|
||||||
# Utilities
|
# Utilities
|
||||||
bat
|
bat
|
||||||
btrfs-progs
|
|
||||||
duf
|
duf
|
||||||
lm_sensors
|
lm_sensors
|
||||||
tree
|
tree
|
||||||
|
|
Loading…
Reference in a new issue