fix(fsck): fsck optionnal

This commit is contained in:
catvayor 2025-04-09 13:16:54 +02:00
parent 4a1e6f59ee
commit 40b6f875b4
Signed by: lbailly
GPG key ID: CE3E645251AC63F3
2 changed files with 8 additions and 6 deletions

View file

@ -36,7 +36,13 @@ in
}; };
}; };
specialisation.router.configuration.imports = [ ./router.nix ]; specialisation = {
router.configuration.imports = [ ./router.nix ];
fsck.configuration.fileSystems."/".options = [
"fsck"
"fix_errors"
];
};
nix.settings = mkMerge [ nix.settings = mkMerge [
((import sources.dgnum-infra { }).mkCacheSettings { ((import sources.dgnum-infra { }).mkCacheSettings {
@ -180,7 +186,7 @@ in
environment.systemPackages = with pkgs; [ brightnessctl ]; environment.systemPackages = with pkgs; [ brightnessctl ];
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
fira-code-nerdfont nerd-fonts.fira-code
font-awesome font-awesome
]; ];

View file

@ -33,10 +33,6 @@
"/" = { "/" = {
device = "/dev/disk/by-uuid/4c1f76c6-5ce6-4987-b15e-9419627b7f19"; device = "/dev/disk/by-uuid/4c1f76c6-5ce6-4987-b15e-9419627b7f19";
fsType = "bcachefs"; fsType = "bcachefs";
options = [
"fsck"
"fix_errors"
];
}; };
"/boot" = { "/boot" = {