nixos: remove btrfs utils and change hostname
This commit is contained in:
parent
a4901d51e0
commit
95173c0c75
|
@ -22,7 +22,7 @@
|
|||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
nixosConfigurations."nixos" =
|
||||
nixosConfigurations.wizlap =
|
||||
let
|
||||
specialArgs = inputs;
|
||||
modules = [ ./nixos.nix ];
|
||||
|
|
23
nixos.nix
23
nixos.nix
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue