This commit is contained in:
Tao Tien 2025-02-17 22:48:03 -08:00
parent 1d7761377e
commit 100f89b444
2 changed files with 35 additions and 8 deletions

View file

@ -147,14 +147,40 @@
bcachefs-iso = nixos.lib.nixosSystem {
system = "x86_64-linux";
modules = [
"${nixos}/nixos/modules/installer/cd-dvd/installation-cd-minimal-new-kernel-no-zfs.nix"
# "${nixos}/nixos/modules/installer/cd-dvd/installation-cd-minimal-new-kernel-no-zfs.nix"
"${nixos}/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma6.nix"
({
lib,
pkgs,
...
}: {
boot.supportedFilesystems = ["bcachefs"];
boot.kernelPackages = lib.mkOverride 0 pkgs.linuxPackages_latest;
nixpkgs.config = {
allowUnfree = true;
};
environment.systemPackages = with pkgs; [
helix
bat
bottom
dumbpipe
sendme
git
firefox
ouch
pueue
ripgrep
# rustdesk
skim
tree
wezterm
wget
zstd
# bcachefs-tools
];
# boot.supportedFilesystems = ["bcachefs"];
boot.supportedFilesystems.btrfs = true;
boot.supportedFilesystems.zfs = lib.mkForce false;
boot.kernelPackages = pkgs.linuxPackages_latest;
isoImage.squashfsCompression = "zstd";
})
];
};

View file

@ -139,11 +139,12 @@
time.timeZone = lib.mkDefault "US/Pacific";
# services.automatic-timezoned.enable = lib.mkDefault true;
i18n.extraLocaleSettings = {
LC_CTYPE = "en_US.UTF-8";
LC_MESSAGES = "en_US.UTF-8";
LC_ALL = "en_US.UTF-8";
};
# i18n.defaultLocale = "en_US.UTF-8";
# i18n.extraLocaleSettings = {
# LC_CTYPE = "en_US.UTF-8";
# LC_MESSAGES = "en_US.UTF-8";
# LC_ALL = "en_US.UTF-8";
# };
systemd.extraConfig = ''
DefaultTimeoutStopSec=15s