Compare commits

...

1 commit

Author SHA1 Message Date
Aaron Honeycutt
5ca4da94eb add boot permission fix 2025-04-19 17:35:44 -06:00

View file

@ -228,6 +228,17 @@ fn main() {
.output()
.expect("Failed to move nix files over");
// Fixes a security issue with boot
let _boot_fix = Command::new("sed")
.arg("-i")
.arg(r#"/fsType = "vfat"/ {
n
s/\(options = \[.*\)\]/\1"umask=0077"]/
}"#)
.arg("/mnt/etc/nixos/hardware-configuration.nix")
.output()
.expect("Failed to apply boot fix");
// Host selection
loop {
println!("");