From 95173c0c75855b64bc53acb8c96cd839bcf47c9d Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Wed, 14 Aug 2024 10:51:34 -0300 Subject: [PATCH] nixos: remove btrfs utils and change hostname --- flake.nix | 2 +- nixos.nix | 23 +---------------------- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/flake.nix b/flake.nix index 0609f41..099c64f 100644 --- a/flake.nix +++ b/flake.nix @@ -22,7 +22,7 @@ pkgs = nixpkgs.legacyPackages.${system}; in { - nixosConfigurations."nixos" = + nixosConfigurations.wizlap = let specialArgs = inputs; modules = [ ./nixos.nix ]; diff --git a/nixos.nix b/nixos.nix index 74403ee..898c001 100644 --- a/nixos.nix +++ b/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;