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};
in
{
nixosConfigurations."nixos" =
nixosConfigurations.wizlap =
let
specialArgs = inputs;
modules = [ ./nixos.nix ];

View file

@ -69,28 +69,7 @@
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 = "wizlap"; # Define your hostname.
# Enable networking
networking.networkmanager.enable = true;