diff --git a/configuration.nix b/configuration.nix index 17d2a26..cde90c1 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,13 +1,17 @@ { config, lib, ... }: -# This should be in /etc/nixos/ together with the rest. +/* + This should be in /etc/nixos/ together with the rest. -# For the nixos channel -# nix-channel --add https://channels.nixos.org/nixos-unstable nixos && nix-channel --update + For the nixos channel: + sudo nix-channel --add https://channels.nixos.org/nixos-unstable nixos && nix-channel --update -# To fix problems sometimes: -# sudo nixos-rebuild switch -I nixos-config=/etc/nixos/configuration.nix + To rebuild for the first time: + sudo nixos-rebuild switch --option extra-experimental-features "blake3-hashes" + To fix problems sometimes: + sudo nixos-rebuild switch -I nixos-config=/etc/nixos/configuration.nix +*/ let nixtamal = import ./tamal { bootstrap-nixpkgs = ; # Apparently a little bit impure but faster. (can be removed) diff --git a/local.nix b/local.nix index c7cc52a..1b06ae2 100644 --- a/local.nix +++ b/local.nix @@ -61,11 +61,11 @@ in options = [ "compress_algorithm=lzo-rle" "compress_extension=*" - "nocompress_extension=avif,bmp,gif,heic,heif,ico,jpe,jpeg,jpg,png,svg,tif,tiff,webp,3gp,avi,flv,m4v,mkv,mov,mp4,mpeg,mpg,webm,wmv,aac,flac,m4a,mid,midi,mp3,ogg,opus,wav,wma,7z,bz2,gz,rar,tar,tgz,xz,zip,zst,docx,odt,odp,ods,pptx,xlsx,pdf,db,gpg,key,p12,pem,sqlite,sqlite3,enc,aab,apk,appimage,bin,deb,dll,elf,exe,jar,so,rpm,img,iso,qcow2,vdi,vhd,vmdk,otf,ttf,class,dump,log,swp,tmp,bak,cache,part,old,new,core" + #"nocompress_extension=avif,bmp,gif,heic,heif,ico,jpe,jpeg,jpg,png,svg,tif,tiff,webp,3gp,avi,flv,m4v,mkv,mov,mp4,mpeg,mpg,webm,wmv,aac,flac,m4a,mid,midi,mp3,ogg,opus,wav,wma,7z,bz2,gz,rar,tar,tgz,xz,zip,zst,docx,odt,odp,ods,pptx,xlsx,pdf,db,gpg,key,p12,pem,sqlite,sqlite3,enc,aab,apk,appimage,bin,deb,dll,elf,exe,jar,so,rpm,img,iso,qcow2,vdi,vhd,vmdk,otf,ttf,class,dump,log,swp,tmp,bak,cache,part,old,new,core" "compress_chksum" "atgc" "gc_merge" - "checkpoint=enable", + "checkpoint=enable" "checkpoint_merge" "fsync_mode=posix" "nat_bits"