diff --git a/modules/generic.nix b/modules/generic.nix index f927f74..ddf5fc6 100644 --- a/modules/generic.nix +++ b/modules/generic.nix @@ -31,7 +31,7 @@ # Make the current system version visible in the prompt. programs.bash.promptInit = '' - export PS1="\u@\h (version ${config.system.image.version}) $ " + export PS1="\u@\h (version ${config.system.image.version}) \w $ " ''; # Not compatible with system.etc.overlay.enable yet. diff --git a/modules/kernel/default.nix b/modules/kernel/default.nix index 3cb344e..f41ee79 100644 --- a/modules/kernel/default.nix +++ b/modules/kernel/default.nix @@ -1,4 +1,9 @@ -{ lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: { boot.kernelPackages = let @@ -10,7 +15,7 @@ modDirVersion = version; src = pkgs.fetchurl { url = "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${version}.tar.xz"; - hash = "sha256:ec9ef7a0b9cebb55940e1ef87a1f9e1004b10456a119dc386bb3e565b0d39c42"; + sha256 = "ec9ef7a0b9cebb55940e1ef87a1f9e1004b10456a119dc386bb3e565b0d39c42"; }; configfile = ./generic.config; allowImportFromDerivation = true; diff --git a/modules/partitions.nix b/modules/partitions.nix index d4d4c1b..fa1fe5c 100644 --- a/modules/partitions.nix +++ b/modules/partitions.nix @@ -21,7 +21,7 @@ mkfsOptions = { erofs = [ - "-zzstd,6" # Zstd compression + # "-zzstd,6" # Zstd compression "-T0" # Fixed timestamp for all files "-Efragments,dedupe,ztailpacking" # Extended options ]; diff --git a/modules/utils.nix b/modules/utils.nix index 9fbad21..91940e7 100644 --- a/modules/utils.nix +++ b/modules/utils.nix @@ -11,5 +11,8 @@ let ''; in { - environment.systemPackages = [ script ]; + environment.systemPackages = [ + # pkgs.ncdu + script + ]; }