nixos: remove btrfs utils and change hostname

This commit is contained in:
Alexandre Cavalheiro 2024-08-14 10:51:34 -03:00
parent a4901d51e0
commit 95173c0c75
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
2 changed files with 2 additions and 23 deletions

View file

@ -22,7 +22,7 @@
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
in in
{ {
nixosConfigurations."nixos" = nixosConfigurations.wizlap =
let let
specialArgs = inputs; specialArgs = inputs;
modules = [ ./nixos.nix ]; modules = [ ./nixos.nix ];

View file

@ -69,28 +69,7 @@
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
# Configure options for mounted volumes. networking.hostName = "wizlap"; # Define your hostname.
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 # Enable networking
networking.networkmanager.enable = true; networking.networkmanager.enable = true;