This commit is contained in:
parent
d65e479bef
commit
ae825ff709
4 changed files with 13 additions and 5 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
|
|
@ -11,5 +11,8 @@ let
|
|||
'';
|
||||
in
|
||||
{
|
||||
environment.systemPackages = [ script ];
|
||||
environment.systemPackages = [
|
||||
# pkgs.ncdu
|
||||
script
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue