nixos: remove btrfs utils and change hostname
This commit is contained in:
parent
a4901d51e0
commit
95173c0c75
|
@ -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 ];
|
||||||
|
|
23
nixos.nix
23
nixos.nix
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue